Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-17163

unwanted   in enabling/disabling editor

    XMLWordPrintable

Details

    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>&nbsp;visitors will

      The same problem for all tags like bold or any other. Blanks after the endtag will be replaced by "&nbsp;

      If I do remove the following lines from \extension\ezoe\ezxmltext\handlers\input\ezoexmlinput.php

      Lines 1083
      if ( $tagContent[0] === ' ' )
      {
      $tagContent[0] = ';';
      $tagContent = '&nbsp' . $tagContent;
      }

      the problem is gone. But I do not know exactly what these lines are doing and why they are needed.

      Attachments

        Activity

          People

            andre1 andre1
            anton.hofmann@mediaparx.com anton.hofmann@mediaparx.com
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: