Page 1 of 1

Transform to Markdown inserts a line break in fig/title element

Posted: Wed Sep 07, 2022 6:47 pm
by sweetsweetstefan
Hi there! I'm wondering if anyone else has experienced this behaviour, where a title beyond a certain length in a fig/title element gets a line break inserted when transforming to Markdown. It's inconvenient because I've selected "markdown_github" as the transtype, but most Markdown readers choke on the line break, and my image fails to load.

Here is the DITA in Oxygen:
2022-09-07_11-36-21.png
And here is the corresponding output, which fails to render properly:
2022-09-07_11-35-00.png
Is this expected behaviour? If I chop the title to about 170 characters, the Markdown comes out fine, but beyond that, it comes out like this.

Thanks!

Re: Transform to Markdown inserts a line break in fig/title element

Posted: Thu Sep 08, 2022 9:54 am
by Radu
Hi,

I added a bug on the DITA OT plugin which handles the DITA to markdown publishing along with a possible fix suggestion:
https://github.com/jelovirt/org.lwdita/issues/114

Regards,
Radu

Re: Transform to Markdown inserts a line break in fig/title element

Posted: Wed Sep 14, 2022 5:22 pm
by sweetsweetstefan
Thank you, Radu!