From 637f5bb2bf1f92d03b2da3ca2589205d55c22e13 Mon Sep 17 00:00:00 2001 From: Serhey Dolgushev Date: Wed, 22 Jan 2020 11:17:25 +0000 Subject: [PATCH] EZP-31321: Replaced zero-width space with oe-upcast-placeholder (#88) * Dont use zero width sapce for EZP-29882 * Renamed ao-upcast-placeholder to oe-upcast-placeholder Co-authored-by: Andrew Longosz --- .../Resources/stylesheets/docbook/xhtml5/edit/core.xsl | 2 +- .../Converter/Xslt/_fixtures/xhtml5/edit/023-embedInline.xml | 4 ++-- .../xhtml5/edit/035-itemizedListWithNestedElements.xml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/eZ/RichText/Resources/stylesheets/docbook/xhtml5/edit/core.xsl b/src/lib/eZ/RichText/Resources/stylesheets/docbook/xhtml5/edit/core.xsl index 1f2177e6..2efde989 100644 --- a/src/lib/eZ/RichText/Resources/stylesheets/docbook/xhtml5/edit/core.xsl +++ b/src/lib/eZ/RichText/Resources/stylesheets/docbook/xhtml5/edit/core.xsl @@ -585,7 +585,7 @@ - + oe-upcast-placeholder diff --git a/tests/lib/eZ/RichText/Converter/Xslt/_fixtures/xhtml5/edit/023-embedInline.xml b/tests/lib/eZ/RichText/Converter/Xslt/_fixtures/xhtml5/edit/023-embedInline.xml index 52aaf31d..7fce1ac4 100644 --- a/tests/lib/eZ/RichText/Converter/Xslt/_fixtures/xhtml5/edit/023-embedInline.xml +++ b/tests/lib/eZ/RichText/Converter/Xslt/_fixtures/xhtml5/edit/023-embedInline.xml @@ -1,10 +1,10 @@
-

Some for the otherwise unremarkable paragraph.

+

Some oe-upcast-placeholder for the otherwise unremarkable paragraph.

This paragraph is just showing off its medium content.

-

Some content.

+

Someoe-upcast-placeholder content.

diff --git a/tests/lib/eZ/RichText/Converter/Xslt/_fixtures/xhtml5/edit/035-itemizedListWithNestedElements.xml b/tests/lib/eZ/RichText/Converter/Xslt/_fixtures/xhtml5/edit/035-itemizedListWithNestedElements.xml index 7c44a81d..d5303d3c 100644 --- a/tests/lib/eZ/RichText/Converter/Xslt/_fixtures/xhtml5/edit/035-itemizedListWithNestedElements.xml +++ b/tests/lib/eZ/RichText/Converter/Xslt/_fixtures/xhtml5/edit/035-itemizedListWithNestedElements.xml @@ -1,6 +1,6 @@
    -
  • This is a list item
  • +
  • This is a list item oe-upcast-placeholder