Konrad Windszus created DOXIA-751:
-------------------------------------
Summary: MarkdownSink: Put link and inline code in markup in the
right order
Key: DOXIA-751
URL: https://issues.apache.org/jira/browse/DOXIA-751
Project: Maven Doxia
Issue Type: Bug
Reporter: Konrad Windszus
For an inline code being linked the syntax in MD is
{code}
[`code label`](http://example.com)
{code}
instead of
{code}
`[code label](http://example.com)`
{code}
The latter leads to incorrect escaping as everything within a code inline
section is emitted as is (i.e. not interpreted).
However the following APT has a different order (code prefix first, then link
prefix):
{code}
<<<{{{http://example.com}code label}}>>>
{code}
leading to
{code}
Sink.inline(code);
Sink.link("http://example.com");
Sink.text("code label");
Sink.link_();
Sink.inline_()
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)