DeepBlueCLtd / LegacyMan

Legacy content for Field Service Manual
https://deepbluecltd.github.io/LegacyMan/index.html
Apache License 2.0
2 stars 0 forks source link

Replace `<br>` elements with `<?linebreak?>` processing instructions #573

Closed IanMayo closed 7 months ago

IanMayo commented 9 months ago

DITA doesn't support the <br> element. We must provide the <?linebreak?> processing instruction instead: https://www.dita-ot.org/dev/reference/markdown/mdita-syntax#ariaid-title7

Find out how to do this with BS4.

Question posed here: https://stackoverflow.com/questions/77699002/generate-linebreak-in-dita-content

Note: here is how it is resolved in a different DITA plugin

IanMayo commented 7 months ago

This is working. It required an upgrade to OxygenXML