Page MenuHomePhabricator

VisualEditor: When "__FORCETOC__" is set, inside VE instead of "Hide" the link to hide the TOC appears as "<hidetoc>"
Closed, ResolvedPublic

Description

Screenshot

Steps to reproduce:

1.Open a page with VE
2.Add Heading
3.Add Subheading 1
4.Now go to Page Settings and set the option to show the TOC as Always

Observed Result:
In the TOC inside VE the link to hide the TOC appears as <hidetoc> instead of Hide

See the screenshot attached

Test Environment: http://en.wikipedia.beta.wmflabs.org/
Browser: Chrome Version 26.0.1410.65
OS: MAC OS X 10. 8. 5


Version: unspecified
Severity: minor

Attached:

Screen_Shot_2014-04-25_at_4.08.39_PM.png (512×1 px, 48 KB)

Details

Reference
bz64464