Konrad Windszus created DOXIA-726:
-------------------------------------
Summary: MarkdownSink: Incorrect escaping of <,>,",' and &
Key: DOXIA-726
URL: https://issues.apache.org/jira/browse/DOXIA-726
Project: Maven Doxia
Issue Type: Bug
Affects Versions: 2.0.0-M9
Reporter: Konrad Windszus
Assignee: Konrad Windszus
As Markdown emits all unknown characters as is in the resulting HTML also all
XML escape characters need to be leveraged in addition to the ones outlined in
https://daringfireball.net/projects/markdown/syntax#backslash in
{{Sink.text(...)}}. Currently only the latter is considered though which leads
to incorrect output: The text value
{code}
"this is a <test>"
{code}
should lead to
{code}
"this is a <test>"
{code}
but right now the "<" and ">" are not escaped
--
This message was sent by Atlassian Jira
(v8.20.10#820010)