View Single Post
Old 07-14-2017, 05:47 AM   #21
slowsmile
Witchman
slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.
 
Posts: 553
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
roger64...Regarding the 'txt-align: center' error -- thanks for spotting that mispelling. That will be corrected in the next change soon.

As regards the code that handles image tags -- this can vary. If "Remove div tags" is not selected by the user then all that's added to the image(<img) styling is 'alt=""' if it is needed. This is for epub 2 html compliance so that it will not fail Epubcheck.

But if the "Remove all div tags..." is selected by the plugin user then all div lines with associated </div> tags will be removed throughout the html code. This means that div tags will also be removed from all <img> tags if they are used.

Similarly if you select "Reformat smaller images..." then only the height and width values are changed or converted from pixel values to % values as inline styling within the <img> tag. Nothing else is touched or changed in the <img> tag or in any associated div tag(unless you have also chosen to remove all div tags as well).

The gist of what I'm saying is that the plugin will not automatically remove or suppress divs. It will only remove divs if you choose that option.

Thanks again. I'll get the change for the mispelling error out as quick as I can.

Last edited by slowsmile; 07-14-2017 at 06:49 AM.
slowsmile is offline   Reply With Quote