[
https://issues.apache.org/jira/browse/YETUS-457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15470839#comment-15470839
]
Allen Wittenauer commented on YETUS-457:
----------------------------------------
OK, as I suspected, the escaping is way way way too aggressive. For example,
every hyphen in every JIRA URL is being escaped. Markdown only needs it
escaped if it is at the beginning of the line. Parentheses only need to be
escaped if they are preceded by a pair of square brackets. etc. etc. There
shouldn't be a reason to use HTML entities either, since Markdown is supposed
to do that conversion for you.
Just because Markdown provides for those chars to be escaped doesn't mean they
should be outside of its context.
Let's scale this patch back to what actually broke.
> RDM does not properly escape entities
> -------------------------------------
>
> Key: YETUS-457
> URL: https://issues.apache.org/jira/browse/YETUS-457
> Project: Yetus
> Issue Type: Bug
> Affects Versions: 0.3.0
> Reporter: Andrew Wang
> Assignee: Andrew Wang
> Priority: Critical
> Attachments: YETUS-457.001.patch, YETUS-457.002.patch
>
>
> Noticed while browsing the Hadoop 3.0.0-alpha1 changelog. Quotes and possibly
> some other entities are not escaped properly, leading to malformed markdown
> output.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)