Skip to content

Commit

Permalink
Item14323: Translator tests were wrong before; probably because of th…
Browse files Browse the repository at this point in the history
…e clutch at the end of the content, which has been improved on. The tests are now correct.
  • Loading branch information
cdot committed Mar 26, 2017
1 parent ccbe521 commit a1c0f9d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions WysiwygPlugin/test/unit/WysiwygPlugin/TranslatorTests.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3123,10 +3123,10 @@ BLAH
GLUED
html => <<'ARGH'
<div class="WYSIWYG_WARNING foswikiBroadcastMessage">
*Conversion to HTML for WYSIWYG editing is disabled because of the topic
content.*<p></p>This is why the conversion is disabled:
<strong>Conversion to HTML for WYSIWYG editing is disabled because of the topic
content.</strong><p></p>This is why the conversion is disabled:
&lt;verbatim&gt; inside &lt;literal&gt;<p></p>
(This message will be removed automatically)<nop></div><div class="WYSIWYG_PROTECTED">&#60;literal&#62;&#60;font&nbsp;color=&#34;blue&#34;&#62;&nbsp;*|B|*&#60;verbatim&#62;%H%&#60;/verbatim&#62;&nbsp;&#60;/font&#62;&#60;/literal&#62;<br /></div>
(This message will be removed automatically)</div><div class="WYSIWYG_PROTECTED">&#60;literal&#62;&#60;font&nbsp;color=&#34;blue&#34;&#62;&nbsp;*|B|*&#60;verbatim&#62;%H%&#60;/verbatim&#62;&nbsp;&#60;/font&#62;&#60;/literal&#62;<br /></div>
ARGH
},
{
Expand All @@ -3137,10 +3137,10 @@ ARGH
GLUED
html => <<'ARGH'
<div class="WYSIWYG_WARNING foswikiBroadcastMessage">
*Conversion to HTML for WYSIWYG editing is disabled because of the topic
content.*<p></p>This is why the conversion is disabled:
<strong>Conversion to HTML for WYSIWYG editing is disabled because of the topic
content.</strong><p></p>This is why the conversion is disabled:
&lt;sticky&gt; inside &lt;literal&gt;<p></p>
(This message will be removed automatically)<nop></div><div class="WYSIWYG_PROTECTED">&#60;literal&#62;&#60;sticky&#62;&#60;font&nbsp;color=&#34;blue&#34;&#62;&nbsp;*|B|*&nbsp;&#60;/font&#62;&#60;/sticky/&#62;&#60;/literal&#62;<br /></div>
(This message will be removed automatically)</div><div class="WYSIWYG_PROTECTED">&#60;literal&#62;&#60;sticky&#62;&#60;font&nbsp;color=&#34;blue&#34;&#62;&nbsp;*|B|*&nbsp;&#60;/font&#62;&#60;/sticky/&#62;&#60;/literal&#62;<br /></div>
ARGH
},
{
Expand Down

0 comments on commit a1c0f9d

Please sign in to comment.