MD in DITA line break after image #4501
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Looking at the DITA content generated from the Markdown content by the DITA OT when publishing, it looks like this, it does not have a placement=break attribute:
Then looking at the XSLT template which processes the DITA XML image:
it has this condition inside it:
so it seems to rely on the fact that when regular DITA topics are processed the placement = 'inline' attribute comes as default from the DTDs. @jelovirt I would see two possible fixes for this: (1) Change inside the "org.dita.html5/xsl/topic.xsl" the "not(@placement = 'inline')" to "(@placement = 'break')" or |
Beta Was this translation helpful? Give feedback.
-
I also added a DITA OT issue for this: #4506 |
Beta Was this translation helpful? Give feedback.
Looking at the DITA content generated from the Markdown content by the DITA OT when publishing, it looks like this, it does not have a placement=break attribute:
Then looking at the XSLT template which processes the DITA XML image:
DITA-OT/plugins/org.dita.html5/xsl/topic.xsl
it h…