Subject: | nytprofhtml generates invalid html |
A redundant </span> tag is generated causing parse errors
--8<--- error in Opera-12.00
XML parsing failed
XML parsing failed: syntax error (Line: 129, Character: 324)
Reparse document as HTML
-->8---
$ perl -ne'129..129 and print' nytprof/JSON-PP-pm-135-line.html
<tr><td class="c0">5688334</td><td class="c0">15</td><td
class="c3">1</td><td class="c0"><span title="0.0%">172s</span></
Show quoted text
td><td class="c0"><span title="0.0%">172s</span></td><td
class="sub_name"><span style="display: none;">JSON::PP::::next_chr</
Show quoted textspan> JSON::PP::<a href="JSON-PP-pm-135-
line.html#717">next_chr</a></span></td></tr>
The last </span> on that line has no opening <span>