Maven Doxia
  1. Maven Doxia
  2. DOXIA-371

Confluence macros conflict with "-"

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Module - Confluence
    • Labels:
      None
    • Number of attachments :
      0

      Description

      In Confluence, a line starting with "-" allows to generated a bullet point. Unfortunately it does not go well when the line right after uses a macro.
      In this example, the "code" macro is not interpreted:

       
      - This is a little test. 
      {code}
      	@Autowired
      	private DataSource dataSource;
      {code}
      

      If I had an empty line in between, everything works fine:

       
      - This is a little test. 
      
      {code}
      	@Autowired
      	private DataSource dataSource;
      {code}
      

        Activity

        Hide
        Robert Scholte added a comment -

        This is a valid multiline listitem (from paragraph-list.confluence test):

        A paragraph
        * A nested list item
        * Another nested list item
        with two lines
        
        Back at the top level
        

        That markup is responsible for the challenge: when does the list stop for the parser?

        Show
        Robert Scholte added a comment - This is a valid multiline listitem (from paragraph-list.confluence test): A paragraph * A nested list item * Another nested list item with two lines Back at the top level That markup is responsible for the challenge: when does the list stop for the parser?
        Hide
        Robert Scholte added a comment -

        r1463160 contains the JUnit test, which now fails when removing the extra linebreak.

        Show
        Robert Scholte added a comment - r1463160 contains the JUnit test, which now fails when removing the extra linebreak.

          People

          • Assignee:
            Unassigned
            Reporter:
            Michael Isvy
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: