in reply to Mojo::DOM doesn't include marked-up text in an element's text
Always check assumptions against docs
docs man docs Mojo::DOM
all_text my $text = $dom->all_text; Extract text content from all descendant nodes of this element. text my $text = $dom->text; Extract text content from this element only (not including child elements).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Mojo::DOM doesn't include marked-up text in an element's text (all_text)
by Cody Fendant (Hermit) on Apr 24, 2020 at 02:33 UTC | |
by hippo (Archbishop) on Apr 24, 2020 at 08:55 UTC | |
by marto (Cardinal) on Apr 24, 2020 at 08:58 UTC | |
by hippo (Archbishop) on Apr 24, 2020 at 10:35 UTC | |
by marto (Cardinal) on Apr 24, 2020 at 10:46 UTC | |
| |
by marto (Cardinal) on Jul 16, 2020 at 18:04 UTC |