using {for} without an indicator removes TOC

VERIFIED FIXED in 2.3

Status

P2
normal
VERIFIED FIXED
8 years ago
8 years ago

People

(Reporter: rbillings, Assigned: rrosario)

Tracking

unspecified

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 years ago
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

8 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
{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
(Assignee)

Updated

8 years ago
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
(Reporter)

Comment 4

8 years ago
Verified TOC displays correctly
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.