Bug #52387
Inconsistent Handling of HTML-Tags in HTML-Elements
Status: | Resolved | Start date: | 2013-09-30 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 100% |
|
Category: | - | |||
Target version: | Base Distribution - 1.0 beta 1 |
Description
The following behavior seems not good to me:
- Add a new Html-Content-Element
- Inline-Edit it inserting '<p>Hello World</p>'
- Deselect Html-Node and it displays '<p>Hello World</p>'
- Select it again and open the Html-Editor clicking in 'Edit HTML'
- Add '!' after 'World'
- Klick Apply
- Now the content element displays 'Hello World!' and the surrounding p-tag is gone
My problem: Inline-editing seems to preserve tags as text and later html-editing removes the prior preserved tags again.
What I see is not what I get.
Related issues
Associated revisions
[BUGFIX] HTML editor should be able to edit inline JavaScript
- shows inline java script correctly in html editor
- inline java script is executed exactly once on apply
- html added in inline editing is escaped
- if inline java script is broken, it breaks the backend
Change-Id: Ie037243bf69576a2d9ce6b5aac32847c761b1aa9
Resolves: #33010, #52387
Reviewed-on: https://review.typo3.org/24168
Reviewed-by: Jacob Floyd
Tested-by: Jacob Floyd
Reviewed-by: Sebastian Kurfuerst
Tested-by: Sebastian Kurfuerst
History
#1 Updated by Christoph Dähne almost 2 years ago
Fixed with #33010:
'<' and '>' are escaped during inline editing.
#2 Updated by Christoph Dähne almost 2 years ago
Inline-editing HTML-Content-Elements should not be possible at all, but currently is sometimes.
See #52404
#3 Updated by Anonymous almost 2 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset 0ad328185f2c6c02278fddb257315e5758925703.