-
Suggestion
-
Resolution: Fixed
-
None
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:
- Editing Rich-Text Fields in the JIRA documentation, and;
- HTML Macro in Confluence's.
- relates to
-
JRACLOUD-44495 Add warning regarding HTML tags in HTML macros in JIRA and Confluence docs
- Closed
[JRASERVER-44495] Add warning regarding HTML tags in HTML macros in JIRA and Confluence docs
Workflow | Original: JAC Suggestion Workflow [ 3044246 ] | New: JAC Suggestion Workflow 3 [ 3673641 ] |
Status | Original: RESOLVED [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: Confluence Workflow - Public Facing v4 [ 2604029 ] | New: JAC Suggestion Workflow [ 3044246 ] |
Workflow | Original: JIRA PM Feature Request Workflow v2 - TEMP [ 2553901 ] | New: Confluence Workflow - Public Facing v4 [ 2604029 ] |
Status | Original: Closed [ 6 ] | New: Resolved [ 5 ] |
Workflow | Original: JIRA Bug Workflow w Kanban v6 - TEMP [ 2342216 ] | New: JIRA PM Feature Request Workflow v2 - TEMP [ 2553901 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JIRA Bug Workflow w Kanban v6 [ 2121822 ] | New: JIRA Bug Workflow w Kanban v6 - TEMP [ 2342216 ] |
Workflow | Original: JIRA Bug Workflow w Kanban v6 - TEMP [ 2083190 ] | New: JIRA Bug Workflow w Kanban v6 [ 2121822 ] |
Workflow | Original: JIRA Bug Workflow w Kanban v6 [ 918335 ] | New: JIRA Bug Workflow w Kanban v6 - TEMP [ 2083190 ] |
Description |
Original:
h3. 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: {noformat} <style type="text/css"> body { font-family: serif, verdana; font-size: smaller; } </style> {noformat} h3. 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: * [Editing Rich-Text Fields|https://confluence.atlassian.com/display/JIRA/Editing+Rich-Text+Fields] in the JIRA documentation, and; * [HTML Macro|https://confluence.atlassian.com/display/DOC/HTML+Macro] in Confluence's. |
New:
{panel:bgColor=#e7f4fa} *NOTE:* This suggestion is for *JIRA Server*. Using *JIRA Cloud*? [See the corresponding suggestion|http://jira.atlassian.com/browse/JRACLOUD-44495]. {panel} h3. 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: {noformat} <style type="text/css"> body { font-family: serif, verdana; font-size: smaller; } </style> {noformat} h3. 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: * [Editing Rich-Text Fields|https://confluence.atlassian.com/display/JIRA/Editing+Rich-Text+Fields] in the JIRA documentation, and; * [HTML Macro|https://confluence.atlassian.com/display/DOC/HTML+Macro] in Confluence's. |
Link |
New:
This issue relates to |
Labels | Original: jw-documentation | New: affects-server jw-documentation |