Help forcing images on newline
Posted: Mon Sep 21, 2015 11:02 pm
My laptop was stolen recently - everything was committed in Git repos so I didn't lose anything, except for my transform. Somehow, all my transformations from before the theft show images as appearing on a new line. But all my transformations after the theft show the images inline! The inline looks terrible for what I'm trying to do. I'm using the standard dita-otk, etc.
I think that I've tracked it down to something within the generation...particularly, one line of HTML.
"Good" versions look like this:
"Bad versions" look like this:
Notice that the "good" version wraps the a element within this <div class="itemgroup stepxmp">
Can anyone help me figure this out?
I think that I've tracked it down to something within the generation...particularly, one line of HTML.
"Good" versions look like this:
Code: Select all
<li class="li step stepexpand">
<span class="ph cmd">Remove the components</span>
<div class="itemgroup stepxmp">
<a class="xref" href="images/Image.jpg">
<img class="image" id="kyijktr4r__image_ktn_bvsdbm2v_js" src="thumbs/Image.jpg"/>
</a>
</div>
</li>
Code: Select all
<li class="li step stepexpand">
<span class="ph cmd">Remove the components</span>
<a class="xref" href="images/Image.jpg">
<img class="image" id="kyijktr4r__image_ktn_bvsdbm2v_js" src="thumbs/Image"/>
</a>
</li>
Can anyone help me figure this out?