Help forcing images on newline

Having trouble installing Oxygen? Got a bug to report? Post it all here.
mslupesky
Posts: 1
Joined: Fri Jul 03, 2015 9:37 am

Help forcing images on newline

Post by mslupesky »

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:

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>
"Bad versions" look like this:

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>
Notice that the "good" version wraps the a element within this <div class="itemgroup stepxmp">

Can anyone help me figure this out?
Radu
Posts: 9449
Joined: Fri Jul 09, 2004 5:18 pm

Re: Help forcing images on newline

Post by Radu »

Hi,

Sorry about your laptop getting stolen.
Could you also post in a codeblock the content of the DITA task step which generates that HTML content?

Also you mention you are using the standard DITA OT. Are you using the DITA OT which comes bundled with Oxygen or an external DITA OT?
Did you have an older Oxygen version installed on your laptop? What Oxygen version are you currently using.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply