confluence-to-markdown-converter icon indicating copy to clipboard operation
confluence-to-markdown-converter copied to clipboard

ac:link replacement missing

Open rcoup opened this issue 8 years ago • 0 comments

Hi there,

Some links to internal pages via only title don't appear to parse correctly:

<p>From&nbsp;<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

rcoup avatar Mar 09 '17 11:03 rcoup