Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-2796

Non semantic spaces/new lines present in XHTML content should not be reflected in generated xwiki 2.0 syntax code.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.7 M3
    • 1.7 M1
    • {Unused} Rendering 2.0
    • None
    • new-line
    • Unit

    Description

      Consider the following xhtml line of code which contains a new line :

       
      <p class="western">Text in a <sup><span style="color:;font-family=;font-size=2pt;">superscript</span></sup>
      format</p>
      

      When this is transformed into xwiki 2.0 syntax, it becomes :

       
      (% class="western" %)
      Text in a ^^(% style="color:;font-family=;font-size=2pt;" %)superscript^^(%%)
      format
      

      The newline should not be present in the xwiki code.

      Attachments

        Activity

          People

            vmassol Vincent Massol
            asiri Asiri Rathnayake
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: