Last modified: 2012-04-19 21:43:29 UTC
Reporting against build r57044 in staging environment (http://prototype.wikimedia.org/deployment/Main_Page)
Steps to reproduce ::
1) Start editing a new page
2) Add a heading "=== Level 3 ===" in the Edit area
<<Link appears in the NTOC as expected >>
3) Now introduce a space at the end of heading "=== Level 3 === "
<<The link disappear from NTOC>>
Expected Outcome ::
Section/headings with spaces shall not be ignored in NTOC.
They shall be displayed
This was reproducible in Firefox 3.5.3 too.
Browser/Computer Properties :
Browser (User-Agent): Opera/9.80 (Windows NT 6.0; U; en) Presto/2.2.15 Version/10.00
Time and Date: 4:29:50 PM - Wednesday, September 30, 2009
Cookies Enabled: Enabled
Java Enabled: Enabled
CPU class/type: ?
Screen Width x Height: 1280 x 800
Screen Color Depth: 32
Window Width: 591 (46.2% of 1280)
Window Height: 353 (44.1% of 800)
This bug is valid, even the user enter a space at the beginning of heading " === Level 3 ==="
Fixed in r57211.
(In reply to comment #1)
> This bug is valid, even the user enter a space at the beginning of heading "
> === Level 3 ==="
Headers with leading spaces are not valid, but are treated as preformatted text. Try entering a few headers with leading spaces and a few with trailing spaces and clicking Show Preview to see what I mean.
Verified and Passed.