Add warning regarding HTML tags in HTML macros in JIRA and Confluence docs

XMLWordPrintable

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.

      Problem Definition

      Both JIRA and Confluence have HTML macros, which allow users to add HTML code to any issues and pages respectively.

      However, if the user adds the required HTML tags inside the macro (<html>, <body> or <header>, the user may end up breaking the page formatting.

      Similarly, if the user adds a "style" for tags, it may override JIRA's CSS. For example:

      <style type="text/css">
      body { font-family: serif, verdana; font-size: smaller; }
      </style>
      

      Suggested Solution

      Inform users that they should not use those tags - rather, they should only use the formatting as if they were including something inside the <body> directly.

      Example of pages that should be edited are:

            Assignee:
            Wazza
            Reporter:
            Matheus Fernandes (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: