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)

Tracking

(Not tracked)

VERIFIED FIXED

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
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
{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.
Priority: -- → P2
Assignee: nobody → rrosario
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Verified TOC displays correctly
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.