Closed Bug 855703 Opened 12 years ago Closed 7 years ago

Remove empty tags on generated code

Categories

(developer.mozilla.org Graveyard :: Editing, defect)

All
Other
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: Jeremie, Unassigned)

Details

(Whiteboard: [specification][type:bug])

What did you do? ================ When we use template that generate HTML code, those template are used through the WISIWIG editor. As a consequence, the WISIWIG editor add some <p> tags. What happened? ============== Those extra tag can lead to issues (in the worst cases) or can simply be turn into empty elements. What should have happened? ========================== No empty element in the output content. Can we build some kind of a "post hook" on MDN to remove empty elements on the generated HTML? Is there anything else we should know? ====================================== Look at https://developer.mozilla.org/en-US/docs/User:Sheppy/TemplateTests for an example of that issue.
Component: General → Editing
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.