Uploaded image for project: 'Confluence'
  1. Confluence
  2. CONFLUENCE-193

Incorrect parsing of pre tags

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 9.39.0
    • 9.34.1
    • Syntax - XHTML
    • None
    • Unknown

    Description

      The Confluence syntax

      <pre>svn co <a href="https://example.com/scm/svn/project/trunk">https://example.com/scm/svn/project/trunk</a> Project</pre><pre>The shell scripts (or batch scripts for the Windows platform) in the <code>sh</code> and <code>bat</code> do not implement any advanced logic, but are simply responsible for calling the Python scripts in the <code>lib/python</code> directory.</pre>
      

      is incorrectly converted into the following XWiki markup. Note how the link is removed from the pre block and the code macros are before the second pre block:

      [[https:~~/~~/example.com/scm/svn/project/trunk>>url:https://example.com/scm/svn/project/trunk||shape="rect"]]
      
      {{{svn co  Project}}}
      
      {{code language="none"}}
      sh
      {{/code}}
      
      {{code language="none"}}
      bat
      {{/code}}
      
      {{code language="none"}}
      lib/python
      {{/code}}
      
      {{{The shell scripts (or batch scripts for the Windows platform) in the  and  do not implement any advanced logic, but are simply responsible for calling the Python scripts in the  directory.}}}
      

      Attachments

        Activity

          People

            tcaras Teodor Caras
            MichaelHamann Michael Hamann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: