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

auto-cursor-target paragraph at the end of a list item adds undesired new line after block macro

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 9.79.0
    • None
    • None
    • None
    • Unknown

    Description

              <ol><li><ac:structured-macro ac:name="expand" ac:schema-version="1"><ac:parameter ac:name="title">Sample Output (Click here to expand...)</ac:parameter><ac:rich-text-body><p><code>long code</code></p></ac:rich-text-body></ac:structured-macro><p class="auto-cursor-target"><br /></p></li></ol>
      

      produces the following:

      1. {{expand title="Sample Output (Click here to expand...)"}}{{code language="none"}}
      long code
      {{/code}}{{/expand}}\\
      

      which makes the expand fail. The auto cursor target paragraph at the end of list items should be ignored.

      Attachments

        Activity

          People

            rjakse Raphaël Jakse
            rjakse Raphaël Jakse
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: