Page MenuHomePhabricator

<h2>text</h2> section edit gets wrong section
Closed, ResolvedPublic


Author: niels_h_jensen

If a <h2>...</h2> tag is added to an article (e.g. in an editing help) then this
text is counted as an own section and gets an own section edit link.

However, on the actual section edit page <h2>...</h2> tags are NOT counted as
sections so that the wrong section (or an empty section if it was the last one)
will be displayed.

Since <h2>...</h2> are not true sections and are also not shown in the table of
content I would suggest not to count <h2> (and other <h*>) as sections on
article pages.

Version: 1.6.x
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:02 PM
bzimport set Reference to bz4527.
bzimport added a subscriber: Unknown Object (MLST).

zigger wrote:

*** This bug has been marked as a duplicate of 2607 ***