Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.9.0alpha1, 4.3.0, 4.4.0alpha1
-
None
Description
Disabling and Enabling the Online Editor adds unwished sequences " " after every XML-Tag.
Looking at the page on the website the page shows "nbsp;" instead of a blank.
Steps to reproduce
Write a text in the online editor, mark a word, do not include the space after the word, set a link on a word, disable editor, enable editor, disable editor
the blank after the link-tag will be replaced by ;amp;nbsp;
All <link target="_blank" title="Rado’s website" href="http://www.rado.com">www.rado.com</link> visitors will
The same problem for all tags like bold or any other. Blanks after the endtag will be replaced by "
If I do remove the following lines from \extension\ezoe\ezxmltext\handlers\input\ezoexmlinput.php
Lines 1083
if ( $tagContent[0] === ' ' )
{
$tagContent[0] = ';';
$tagContent = ' ' . $tagContent;
}
the problem is gone. But I do not know exactly what these lines are doing and why they are needed.