Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-198

Extra new lines in TeX Renderer

    XMLWordPrintable

    Details

    • Tests:
      Integration
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      For example:

      <document>
        <parameter0>
          <metadata class="linked-hash-map">
            <entry>
              <string>syntax</string>
              <org.xwiki.rendering.syntax.Syntax>
                <type>
                  <name>$syntax.type.name</name>
                  <id>$syntax.type.id</id>
                </type>
                <version>$syntax.version</version>
              </org.xwiki.rendering.syntax.Syntax>
            </entry>
          </metadata>
        </parameter0>
        <paragraph>
          <parameter0></parameter0>
          <word>This</word>
          <space></space>
          <word>is</word>
          <space></space>
          <format>
            <parameter0>BOLD</parameter0>
            <parameter1></parameter1>
            <word>bold</word>
          </format>
        </paragraph>
      </document>
      

      Renders as (notice the extra new lines before and after the text:

      
      This is \textbf{bold}
      
      

        Attachments

          Activity

            People

            Assignee:
            vmassol Vincent Massol
            Reporter:
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: