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

Include macro surrounded by text incorrectly converted to block in div

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 9.78.0
    • Syntax - XHTML
    • None
    • Unknown

    Description

      In the following Confluence XHTML syntax,

      <div>Hello <ac:structured-macro ac:name="include" ac:schema-version="1" ac:macro-id="21107d4e-db11-483a-9378-cc1981c10d27"><ac:parameter ac:name=""><ac:link><ri:page ri:content-title="_SvIncludePlusContent-_environment_long 1" /></ac:link></ac:parameter></ac:structured-macro> world</div>
      

      the include macro is incorrectly migrated block, where it should be converted inline. In CONFLUENCE-307, we had fixed the case where the macro is in a paragraph, we know need to figure out a way to detect that things are inline when surrounded by text (before and/or after).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: