in reply to Re^2: How to avoid addition of tags by HTML::TreeBuilder
in thread How to avoid addition of tags by HTML::TreeBuilder
The expected output is illegal HTML; in fact so is the Tree builder version. HTML5 requires the title. Getting tools to produce incorrect output is usually be outside their scope.
If you always have the same template but differing bodies, you could just use the tree to print the body content into your template. Otherwise there might be a limited number of cases you could convert into a heuristic tree with matching template pieces to get what you want.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How to avoid addition of tags by HTML::TreeBuilder
by Anonymous Monk on Apr 19, 2019 at 16:55 UTC | |
by Your Mother (Archbishop) on Apr 19, 2019 at 17:03 UTC | |
by karlgoethebier (Abbot) on Apr 20, 2019 at 14:17 UTC | |
by Anonymous Monk on Apr 21, 2019 at 03:48 UTC | |
by karlgoethebier (Abbot) on Apr 21, 2019 at 20:19 UTC |