Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EZP-31321: Replaced zero-width space with oe-upcast-placeholder #88

Merged
merged 2 commits into from
Jan 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@
<xsl:call-template name="ezattribute"/>
<xsl:apply-templates/>
<xsl:if test="./docbook:ezattribute or not(node())">
<xsl:text> </xsl:text>
<xsl:text>oe-upcast-placeholder</xsl:text>
</xsl:if>
</xsl:element>
</xsl:template>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<section xmlns="http://ez.no/namespaces/ezpublish5/xhtml5/edit">
<p>Some <span data-ezelement="ezembedinline" id="id3" data-href="ezcontent://601" data-ezview="embed-inline-custom" class="embedClass" data-ezalign="left"> </span> for the otherwise unremarkable paragraph.</p>
<p>Some <span data-ezelement="ezembedinline" id="id3" data-href="ezcontent://601" data-ezview="embed-inline-custom" class="embedClass" data-ezalign="left">oe-upcast-placeholder</span> for the otherwise unremarkable paragraph.</p>
<p>This paragraph is just showing off its <span data-ezelement="ezembedinline" id="id5" data-href="ezcontent://501" data-ezview="embed-inline" class="embedClass2" data-ezalign="right">
<span data-ezelement="ezconfig">
<span data-ezelement="ezvalue" data-ezvalue-key="size">medium</span>
</span>
</span> content.</p>
<p>Some<span data-ezattribute-name-1="value 1" data-ezattribute-name-2="value 2" data-ezelement="ezembedinline" id="id4" data-href="ezcontent://601"> </span> content.</p>
<p>Some<span data-ezattribute-name-1="value 1" data-ezattribute-name-2="value 2" data-ezelement="ezembedinline" id="id4" data-href="ezcontent://601">oe-upcast-placeholder</span> content.</p>
</section>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<section xmlns="http://ez.no/namespaces/ezpublish5/xhtml5/edit">
<ul>
<li>This is a list item <span data-ezelement="ezembedinline" data-href="ezcontent://52" data-ezview="embed-inline"> </span></li>
<li>This is a list item <span data-ezelement="ezembedinline" data-href="ezcontent://52" data-ezview="embed-inline">oe-upcast-placeholder</span></li>
</ul>
</section>