Closed
Bug 779396
Opened 13 years ago
Closed 12 years ago
Kuma: TOC - Headings that use <code> inside them have the spaces removed where the <code> and </code> are
Categories
(developer.mozilla.org Graveyard :: Wiki pages, defect, P3)
developer.mozilla.org Graveyard
Wiki pages
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sheppy, Assigned: fs)
References
Details
Attachments
(1 file)
10.11 KB,
image/png
|
Details |
See, for example, this page:
https://developer-new.mozilla.org/en-US/docs/CSS/shape
I've attached a screenshot of what the TOC looks like where "The Rect() function" has <code> around "Rect()".
Updated•13 years ago
|
Priority: -- → P3
Comment 2•13 years ago
|
||
In bug 782954, Jean-Yves mentioned that we might want to use the <code> tag in the TOC.
Assignee | ||
Comment 3•13 years ago
|
||
I've got a PR started and plan to finish this shortly
https://github.com/mozilla/kuma/pull/565
I'll allow <code> in the TOC for now.
Assignee: nobody → elchi3
Status: NEW → ASSIGNED
I found the similar case.
https://developer.mozilla.org/en-US/docs/Project:Introduction_to_KumaScript
The heading "If/else blocks in KumaScript" has strong tag.
TOC shows it as "If/else blocksin KumaScript".
Comment 5•12 years ago
|
||
Yu-Tang: Thanks for the notice, in this specific case I removed the <strong> tag which was useless. I don't see a use case where a <strong> would be needed in a header...
Updated•12 years ago
|
Version: Kuma → unspecified
Updated•12 years ago
|
Component: Website → Landing pages
Comment 6•12 years ago
|
||
Commit pushed to master at https://github.com/mozilla/kuma
https://github.com/mozilla/kuma/commit/ca3af99241572c3f0bb54d8567ef215e36cbcf4f
Fix bug 779396 - TOC: Fix spaces, allow code tag
Updated•12 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•