Last modified: 2012-09-18 22:06:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T42090, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40090 - Parsoid outputs invalid header HTML elements (integers greater than 6)
Parsoid outputs invalid header HTML elements (integers greater than 6)
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
tokenizer (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Gabriel Wicke
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-07 20:14 UTC by Mark Holmquist
Modified: 2012-09-18 22:06 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mark Holmquist 2012-09-07 20:14:04 UTC
$ echo "========= aoeueoa ==========" | node parse.js
<p><h9 data-parsoid="{&quot;tsr&quot;:[0,9],&quot;bsp&quot;:[0,28]}"> aoeueoa =</h9></p>

Wronnggggggg

Either A) stop counting equal signs after 6 or B) when the tokenizer passes in such a huge number, give back an h6.
Comment 1 Mark Holmquist 2012-09-07 20:41:41 UTC
Note, I'm building in a fix in the C++ tokenizer but it may or may not be easily backportable.
Comment 2 Mark Holmquist 2012-09-18 22:06:32 UTC
<h9> is no more, fixed in change I8086c7da

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links