Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-44495

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

    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? 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:

            [JRASERVER-44495] Add warning regarding HTML tags in HTML macros in JIRA and Confluence docs

            No work has yet been logged on this issue.

              wthompson Wazza
              mfernandes@atlassian.com Matheus Fernandes
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: