We couldn't load all Actvitity tabs. Refresh the page to try again.
If the problem persists, contact your Jira admin.
IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Medium Medium
    • None
    • 2.3
    • None

      am confounded by the way user macros are working. When I open a page containing a user macro in the editor, newlines are being inserted before and after the macro.

      To demonstrate the problem,

      1. I created a simple macro called test that consists of :

      <b>$body</b>

      2. I create wiki page usingmacro

      Some text

      {test}text in a macro{test}

      Some more text

      3. I save the page and view. Looks ok.

      4. I re-open in the rich text editor: A newline is now inserted between line 2 and 3. Wiki markup is unchanged. I save.

      5. A blank line is now between line 2 and 3.

      6. I re-open in the rich text edior: 2 blank lines between line 2 and 3. Wiki markup now appears as:

      Some text

      {test}text in a macro{test}


      Some more text

      I save again.

      7. Now there is no padding between line 2 and 3.

      8. Open for edit. Wiki Markup is

      Some text

      {test}text in a macro{test}


      Some more text

      Save.

      9. Now there is no padding between any lines.

      10. Open for edit. Wiki markup is now

      Some text

      {test}text in a macro{test}


      Some more text

      And so on.... Note that I am not actually editing any of the content, just opening in rich text editor>>then viewing the wiki markup>>and saving. The appearance is changing each time. Also, the line spacing in the rich text editor differs from that see in the preview or wiki page.

      This is quite annoying, because every time I make a change anywhere in the page, I have to make sure that the portion around the macro is properly spaced.

      Am I doing something wrong?

            Loading...
            IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.

              • Icon: Bug Bug
              • Resolution: Duplicate
              • Icon: Medium Medium
              • None
              • 2.3
              • None

                am confounded by the way user macros are working. When I open a page containing a user macro in the editor, newlines are being inserted before and after the macro.

                To demonstrate the problem,

                1. I created a simple macro called test that consists of :

                <b>$body</b>

                2. I create wiki page usingmacro

                Some text

                {test}text in a macro{test}

                Some more text

                3. I save the page and view. Looks ok.

                4. I re-open in the rich text editor: A newline is now inserted between line 2 and 3. Wiki markup is unchanged. I save.

                5. A blank line is now between line 2 and 3.

                6. I re-open in the rich text edior: 2 blank lines between line 2 and 3. Wiki markup now appears as:

                Some text

                {test}text in a macro{test}


                Some more text

                I save again.

                7. Now there is no padding between line 2 and 3.

                8. Open for edit. Wiki Markup is

                Some text

                {test}text in a macro{test}


                Some more text

                Save.

                9. Now there is no padding between any lines.

                10. Open for edit. Wiki markup is now

                Some text

                {test}text in a macro{test}


                Some more text

                And so on.... Note that I am not actually editing any of the content, just opening in rich text editor>>then viewing the wiki markup>>and saving. The appearance is changing each time. Also, the line spacing in the rich text editor differs from that see in the preview or wiki page.

                This is quite annoying, because every time I make a change anywhere in the page, I have to make sure that the portion around the macro is properly spaced.

                Am I doing something wrong?

                        Unassigned Unassigned
                        ivan@atlassian.com Ivan Benko [Atlassian]
                        Votes:
                        0 Vote for this issue
                        Watchers:
                        0 Start watching this issue

                          Created:
                          Updated:
                          Resolved:

                            Unassigned Unassigned
                            ivan@atlassian.com Ivan Benko [Atlassian]
                            Affected customers:
                            0 This affects my team
                            Watchers:
                            0 Start watching this issue

                              Created:
                              Updated:
                              Resolved: