>
> It's no big deal and I just asked because I found the source_line()
> function in HTML::HTML5::Parser.
>
Turns out HTML::HTML5::Parser actually uses XMK::LibXML for parsing, which
only activates line numbers if the parser has been initialized with a
special option, and only up to 56535 lines, so it's a rather ugly hack.
https://metacpan.org/pod/distribution/XML-LibXML/lib/XML/LibXML/Node.pod#line_number
I very much doubt that this feature will ever find it's way into Mojo::DOM.
--
sebastian
--
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 https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.