confluence-to-markdown-converter
confluence-to-markdown-converter copied to clipboard
ac:link replacement missing
Hi there,
Some links to internal pages via only title don't appear to parse correctly:
<p>From <ac:link><ri:page ri:content-title="Some Meeting Notes" /></ac:link>, we want to do some stuff:</p>
FWIW, it renders in Confluence as:
<p>From <a href="/wiki/display/myspace/Some+Meeting+Notes">Some Meeting Notes</a>, we want to do some stuff:</p>
Output (c2md/c2deveo/etc):
From , we want to do some stuff:
If I switch to <xsl:output method="xml"/> the <ac:link>...</ac:link> flows through to the output.
I'd expect it to return:
From [Some Meeting Notes](Some Meeting Notes), we want to do some stuff:
Looks like the bottom section from https://github.com/highsource/confluence-to-markdown-converter/blob/gh-pages/samples/Jsonix/Mapping-XML-to-JavaScript-Objects.xml has similar link styles and is affected too