[
https://issues.apache.org/jira/browse/DOXIA-751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus updated DOXIA-751:
----------------------------------
Fix Version/s: 2.0.1
> 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
> Assignee: Konrad Windszus
> Priority: Major
> Fix For: 2.0.1
>
>
> 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)