Closed
Bug 1253530
Opened 10 years ago
Closed 6 years ago
<pre> without class is interpreted as HTML source with line numbers
Categories
(developer.mozilla.org Graveyard :: Editing, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: sebo, Unassigned)
References
()
Details
(Keywords: in-triage, Whiteboard: [specification][type:bug])
What did you do?
================
1. https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Your_second_WebExtension#Testing_it_out
2. Inspected the directory tree with the DevTools
3. Checked the same <pre> in edit mode
What happened?
==============
In reading mode it's enclosed by a <pre class="line-numbers language-html"> causing the code to be formatted as HTML source and having line numbers, while in edit mode it's enclosed by a bare <pre>.
What should have happened?
==========================
A <pre> without class should be output without syntax highlighting and not have line numbers.
Is there anything else we should know?
======================================
Related discussion:
https://groups.google.com/forum/#!topic/mozilla.dev.mdc/vSLx6QJT1cI
| Reporter | ||
Updated•10 years ago
|
| Reporter | ||
Updated•10 years ago
|
Summary: <pre> without class is interpreted as HTML source → <pre> without class is interpreted as HTML source with line numbers
Comment 1•6 years ago
|
||
MDN Web Docs' bug reporting has now moved to GitHub. From now on, please file content bugs at https://github.com/mdn/sprints/issues/ and platform bugs at https://github.com/mdn/kuma/issues/.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Updated•6 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
•