Transform to Markdown inserts a line break in fig/title element
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 6
- Joined: Mon Jan 03, 2022 5:54 pm
Transform to Markdown inserts a line break in fig/title element
Post 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:
And here is the corresponding output, which fails to render properly:
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!
Here is the DITA in Oxygen:
- 2022-09-07_11-36-21.png (41.96 KiB) Viewed 479 times
- 2022-09-07_11-35-00.png (67.83 KiB) Viewed 479 times
Thanks!
Re: Transform to Markdown inserts a line break in fig/title element
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
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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 6
- Joined: Mon Jan 03, 2022 5:54 pm
Re: Transform to Markdown inserts a line break in fig/title element
Post by sweetsweetstefan »
Thank you, Radu!
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service