Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
7.8.0, 7.12.0
-
7.08
-
4
-
Severity 3 - Minor
-
2
-
Description
Summary
When pasting text into a code macro within the visual text editor, this does not preserve line breaks. However, when pasting straight into the comment, it does preserve line breaks. We would expect the code macro to behave the same, especially in the case of code blocks where line breaks are important and need to be kept.
Video of Issue: Code Macro - Line Breaks
Steps to Reproduce
- Copy text from a document (or use a terminal command with multi line output; such as dig @8.8.8.8 google.com MX
- Using the Visual Mode in Jira, insert a "Code Block" or "Preformatted" macro
- Paste into the macro
Expected Results
The text is pasted with line breaks intact.
Actual Results
The text is not pasted with line breaks intact.
Workaround
Using the {code} or {noformat} macros in "Text" mode will preserve the line breaks.
Attachments
Issue Links
- is related to
-
JRASERVER-67970 Break lines are not displayed properly in Visual Mode
- Gathering Impact