Item11819: WysiwygPlugin / TinyMCEPlugin remove whitespace - hiddden newline spans are not preserved
Priority: Urgent
Current State: Closed
Released In: 1.1.6
Target Release: patch
Topic of following TML
<noautolink>
WebHome
</noautolink>
WebHome
after save becomes
<noautolink>WebHome</noautolink>WebHome
No spaces or new lines preserved. And the closing noautolink tab prevents the final
WebHome from autolinking.
TMCE on 1.1.4 also wraps the lines together, but spaces are inserted between the noautolink tags and the
WikiWords.
--
GeorgeClark - 05 May 2012
The issue is that the TMCE editor is removing "empty spans, the solution is to emit a
nbsp;
in the encoded span instead of a single space. This seems to fix several places were lines were incorrectly wrapping.
-<span style="{encoded:'n'}" class="WYSIWYG_HIDDENWHITESPACE"> </span>
+<span style="{encoded:'n'}" class="WYSIWYG_HIDDENWHITESPACE"> </span>
--
GeorgeClark - 05 May 2012