Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-9827

HTML macro breaks the wiki markup when switching between the editors

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Low Low
    • None
    • 2.6.0
    • None

      To reproduce:

      1. Place the following content in the "Wiki Markup" editor:
        {html}
        <table border=0 cellpadding=0 cellspacing=0 width=700>
        <tr>
        <th width=200>Name</th>
        <th width=200>Email</th>
        </tr>
        <tr>
        <td>Admin</td>
        <td>
        {html}
        [mailto:jjones@mail.com]
        {html}
        </td>
        </tr></table>
        {html}
        
      2. Save the content and you will be seeing an expected layout
      3. Edit the page by switching to the "Rich Text" editor
      4. Switching back the editor mode to "Wiki Markup" would lead to the following content being rendered:
        {html}
        <TABLE border="0" cellpadding="0" cellspacing="0" width="700">
        <TBODY><TR>
        <TH width="200">Name</TH>
        <TH width="200">Email</TH>
        </TR>
        <TR>
        <TD>Admin</TD>
        <TD>
        <DIV class="wikisrc">{html}</DIV>
        <P><SPAN class="nobr"><A href="mailto:jjones@mail.com" linktext="mailto:jjones@mail.com" linktype="raw" rel="nofollow">jjones@mail.com<SUP><IMG align="absmiddle" alt border="0" class="rendericon" height="12" src="http://localhost:8081/images/icons/mail_small.gif" width="13"></IMG></SUP></A></SPAN></P>
        <DIV class="wikisrc">
        {html}</DIV><DIV wysiwyg="macro:html">
        </DIV></TD>
        </TR></TBODY></TABLE>
        {html}
        
      5. The layout is broken upon saving the page (see screenshot break.jpg)

            [CONFSERVER-9827] HTML macro breaks the wiki markup when switching between the editors

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2890419 ] New: CONFSERVER Bug Workflow v4 [ 2982730 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2774303 ] New: JAC Bug Workflow v3 [ 2890419 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2734078 ] New: JAC Bug Workflow v2 [ 2774303 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2399486 ] New: JAC Bug Workflow [ 2734078 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2298120 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2399486 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2233140 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2298120 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2193998 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2233140 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1917361 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2193998 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v3 [ 1718761 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 1917361 ]
            Katherine Yabut made changes -
            Workflow Original: CONF Bug Subtask WF (TEMP) [ 1671723 ] New: Confluence Workflow - Public Facing - Restricted v3 [ 1718761 ]

              Unassigned Unassigned
              cltham Choy Li Tham [Atlassian]
              Affected customers:
              1 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: