Closed
Bug 1082531
Opened 11 years ago
Closed 9 years ago
html is escaped when inserted from HTML inspector
Categories
(DevTools :: Inspector, defect)
DevTools
Inspector
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: pascalc, Unassigned)
Details
Mozilla/5.0 (X11; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0
(also in Fx32)
1/ right click on any piece of text on a page and edit the text in the html tree in devtools
2/ add some html, for example a <br> in a sentence
expected result:
A line break is inserted (or any other html tag you added)
examle: "We've made a guess <br>at your operating system and platform."
actual result:
The html tag inserted is escaped which means that the page now *displays* the html tag:
"We've made a guess <br>at your operating system and platform."
It works in Firebug. Chrome dev tools behave like Firefox dev tools but I can't imagine a situation in which somebody would want to insert escaped html on a page via the built in devtools therefore I consider it as a bug.
Comment 1•9 years ago
|
||
Moving to the inspector component for triage.
Component: Developer Tools → Developer Tools: Inspector
OS: Linux → All
Hardware: x86_64 → All
Comment 2•9 years ago
|
||
What you want to do here can be achieved using the "Edit as HTML" feature from the context menu.
When double clicking on a text node, it's fair to say the user wants to edit text and not markup.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Updated•8 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•