Last modified: 2012-08-06 21:06:24 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 T35089, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33089 - Parsoid: Blank heading generates invalid wikitext
Parsoid: Blank heading generates invalid wikitext
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Gabriel Wicke
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-14 11:25 UTC by Liangent
Modified: 2012-08-06 21:06 UTC (History)
7 users (show)

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


Attachments

Description Liangent 2011-12-14 11:25:20 UTC
An empty Heading 1 generates "==" which is rendered as two equal signs.
Comment 1 James Forrester 2012-06-22 18:10:25 UTC
Confirmed still a problem in current version.

Expected behaviour? Possibly empty headings disappear / down-convert to empty paragraphs?
Comment 2 Liangent 2012-06-22 20:11:14 UTC
(In reply to comment #1)
> Confirmed still a problem in current version.
> 
> Expected behaviour? Possibly empty headings disappear / down-convert to empty
> paragraphs?

Or putting a space in it? (ie. = = to create an empty section title)
Comment 3 James Forrester 2012-06-22 22:06:07 UTC
Mass-moving items into VisualEditor product
Comment 4 James Forrester 2012-06-23 01:34:04 UTC
Mass-move out of "General" to "Data Model".
Comment 5 Roan Kattouw 2012-07-05 21:12:50 UTC
Not a data model bug, moving to Parsoid.

The editor produces <h1></h1> for an empty heading, which is correct. Parsoid's serializer converts this to == , which is wrong. Similarly, <h2></h2> is converted to ==== .
Comment 6 ssastry 2012-07-06 16:09:55 UTC
Fixed in e529ae7e0e58d602964d9f1706d11d22832f10f9
Comment 7 James Forrester 2012-08-06 19:25:51 UTC
Mass-moving bugs into the new 'Parsoid' product.
Comment 8 Gabriel Wicke 2012-08-06 21:06:24 UTC
Verified fixed.

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


Navigation
Links