You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2024/10/15 18:04:00 UTC
[jira] [Assigned] (DOXIA-751) MarkdownSink: Put link and inline code in markup in the right order
[ https://issues.apache.org/jira/browse/DOXIA-751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konrad Windszus reassigned DOXIA-751:
-------------------------------------
Assignee: Konrad Windszus
> 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
>
> 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)