Use the content method (http://mojolicio.us/perldoc/Mojo/DOM#content)
instead of the text method.

On Wed, Apr 15, 2015 at 9:48 AM, Jason D <[email protected]> wrote:

> I'm using `find()` to get the container that I'm interested in.
>
> Once I find the container I want the inner text using ` $_->text `.  The
> problem is that this strips out all the html.  I want to remove most of the
> html but I'd like to keep links,video,code blocks intact.  Is there a way
> to do that?
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Mojolicious" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/mojolicious.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to