You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
txt2tags use such attributes
align="middle"
border="0"
That are obsolete considering the W3m validator.
The txt2tags code is just inserting a picture : [/Images/picture.png]
and the output is
<img align="middle" src="/Images/picture.png" border="0" alt=""/>
This appens with txt2tags 2.6-3
Original issue reported on code.google.com by xavier.cartron@gmail.com on 20 May 2012 at 11:57
The text was updated successfully, but these errors were encountered:
align="middle" is needed to align inline images inside a paragraph and
border="0" to avoid the ugly blue border around the image when it was used as a
link.
Both are included to improve the default page appearance in HTML target, when
using no CSS.
When using --css-sugar, or other HTML targets (html5, xhtml) these attributes
should not be included.
txt2tags -t html --> Plain HTML with a few presentation tags/attributes
txt2tags -t html5 --> Plain HTML, no presentation tags/attributes (must be
done with CSS)
If any other target except 'html' is using those attributes, they must be
removed.
Original comment by aureliojargas@gmail.com on 26 Jul 2012 at 4:38
Before removing these attributes, a better solution would be to use the <span>
to include the css.
The idea would be to have :
<span style="align:middle;border:0">the link to the picture</span>
Original comment by xavier.cartron@gmail.com on 7 Sep 2012 at 10:49
Original issue reported on code.google.com by
xavier.cartron@gmail.com
on 20 May 2012 at 11:57The text was updated successfully, but these errors were encountered: