Bug 577870 - Pipe and Exclamation characters should be escaped
Summary: Pipe and Exclamation characters should be escaped
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.0.42   Edit
Assignee: Conor OKelly CLA
QA Contact: Leo Dos Santos CLA
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2021-12-17 10:34 EST by Conor OKelly CLA
Modified: 2022-01-06 17:22 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Conor OKelly CLA 2021-12-17 10:34:07 EST
A tighter version of the Confluence markup will render both of these characters with escape.

The Mylan docs library already supports the parsing of the `\|` escaped pipe symbol.
It does not support the parsing of an escaped exclamation mark `\!` as has been seen in newer version of Jira cloud.

Neither is written into Confluence with the escape symbol 

This can cause the following bugs:

1. Pipe symbol at the start of a line unescaped will create a table

The following markup will render as a table

`| some text`

2. Exclamation mark is escaped by default in newer versions of Jira and this causes the `\!` to be parsed literally as `\!` rather than `!`
Comment 2 Conor OKelly CLA 2022-01-06 17:20:53 EST
Closed with the merge of https://git.eclipse.org/r/c/mylyn/org.eclipse.mylyn.docs/+/188922/3
Comment 3 Leo Dos Santos CLA 2022-01-06 17:22:52 EST
Thank you for the contribution Conor.