-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EZP-30628: Soft return inside inline style is removed after edit (#48)
* EZP-30628: Soft return inside inline style is removed after edit * changed eztemplateinline/ezcontent matcher more specific and check if literallayout is parent
- Loading branch information
1 parent
8a66616
commit c1d2715
Showing
3 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/lib/eZ/RichText/Converter/Xslt/_fixtures/xhtml5/edit/032-ezstyleinline.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<section xmlns="http://ez.no/namespaces/ezpublish5/xhtml5/edit"> | ||
<p>Some <span data-ezelement="eztemplateinline" data-eztype="style" data-ezname="highlighted_word">highlighted words</span> for the otherwise unremarkable paragraph.</p> | ||
<p>Some <span data-ezelement="eztemplateinline" data-eztype="style" data-ezname="highlighted_word">highlighted words<br/>with line break</span> for the otherwise unremarkable paragraph.</p> | ||
</section> |