[
https://issues.apache.org/jira/browse/DOXIA-770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus updated DOXIA-770:
----------------------------------
Description:
Currently all characters which can be escaped in markdown are escaped. This
should be improved so that characters are only escaped when necessary. This
requires evaluation of the context. Compare with
https://github.com/jgm/pandoc/issues/6259.
||Character||Escaping condition||
|backslash|Always|
|`||
|curly braces|Never(?)|
|square brackets|When otherwise may be interpreted as link, reference, footnote|
|paretheses|When otherwise may be interpreted as inline link|
|hash||
|*|Inside unordered lists|
|+|Inside unordered lists|
|-|Inside unordered lists|
|.|Inside ordered lists|
|!||
was:
Currently all characters which can be escaped in markdown are escaped. This
should be improved so that characters are only escaped when necessary. This
requires evaluation of the context. Compare with
https://github.com/jgm/pandoc/issues/6259.
||Character||Escaping condition||
|backslash|Always|
|`||
|curly braces|Never(?)|
|square brackets||
|paretheses||
|hash||
|*|Inside unordered lists|
|+|Inside unordered lists|
|-|Inside unordered lists|
|.|Inside ordered lists|
|!||
> MarkdownSink: Only escape when necessary
> -----------------------------------------
>
> Key: DOXIA-770
> URL: https://issues.apache.org/jira/browse/DOXIA-770
> Project: Maven Doxia
> Issue Type: Improvement
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
> Priority: Major
>
> Currently all characters which can be escaped in markdown are escaped. This
> should be improved so that characters are only escaped when necessary. This
> requires evaluation of the context. Compare with
> https://github.com/jgm/pandoc/issues/6259.
> ||Character||Escaping condition||
> |backslash|Always|
> |`||
> |curly braces|Never(?)|
> |square brackets|When otherwise may be interpreted as link, reference,
> footnote|
> |paretheses|When otherwise may be interpreted as inline link|
> |hash||
> |*|Inside unordered lists|
> |+|Inside unordered lists|
> |-|Inside unordered lists|
> |.|Inside ordered lists|
> |!||
--
This message was sent by Atlassian Jira
(v8.20.10#820010)