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

White space before a <ac:link> element is cleaned

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.1.3
    • Fix Version/s: 9.1.6
    • Component/s: Syntax - XHTML
    • Labels:
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      For example

      toto <ac:link ac:anchor="anchor"/>
      

      produces

      beginDocument
      beginParagraph
      onWord [toto]
      beginLink [Typed = [true] Type = [doc] Reference = [] Parameters = [[anchor] = [anchor]]] [false]
      endLink [Typed = [true] Type = [doc] Reference = [] Parameters = [[anchor] = [anchor]]] [false]
      endParagraph
      endDocument
      

      Sounds like a bug in the WikiModel white space cleaner (or more precisely it's a bit lost with those unknown elements). Will probably need to write a custom one on Confluence syntax parser.

        Attachments

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              tmortagne Thomas Mortagne
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: