Closed
Bug 607779
Opened 15 years ago
Closed 15 years ago
using {for} without an indicator removes TOC
Categories
(support.mozilla.org :: Knowledge Base Software, task, P2)
support.mozilla.org
Knowledge Base Software
Tracking
(Not tracked)
VERIFIED
FIXED
2.3
People
(Reporter: rbillings, Assigned: rrosario)
Details
If a user adds {for} data to a TOC header without an indicator the entire table of contents is removed.
1) edit article
2) enter:
<h1> super duper header</h1>
<h2>second up! </h2>
{for}<h3> much smaller</h3>{/for}
3) preview
expected: h3 is hidden
actual: TOC is removed if {for} text is entered without description
Reporter | ||
Comment 1•15 years ago
|
||
changed to KB software and target 2.3
Component: Knowledge Base Articles → Knowledge Base Software
QA Contact: kb-articles → kb-software
Target Milestone: --- → 2.3
Comment 2•15 years ago
|
||
{for} is weird, bad syntax, but we should still fix the JS so it doesn't crash. It just needs to tolerate a missing data-for attr.
Updated•15 years ago
|
Priority: -- → P2
Updated•15 years ago
|
Assignee: nobody → rrosario
Assignee | ||
Comment 3•15 years ago
|
||
This actually landed yesterday with the fix for bug 607301:
http://github.com/jsocol/kitsune/commit/d6a328e65f90b6b55e91de9846c5d4941901fb35
Assignee | ||
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•