Sigil-Ebook / flightcrew

Automatically exported from code.google.com/p/flightcrew
GNU General Public License v3.0
33 stars 11 forks source link

element 'u' is not allowed for content model #30

Closed GoogleCodeExporter closed 11 months ago

GoogleCodeExporter commented 9 years ago
FLightcrew Errors out on the <u></u> tags within Sigil.

element 'u' is not allowed for content model 

'(a|br|span|bdo|map|object|img|svg|tt|i|b|big|small|em|strong|dfn|code|q|samp|kb
d|var|cite|abbr|acronym|sub|sup|input|select|textarea|label|button|ins|del|scrip
t)'

It has all tags bar the underline (<u>).

Original issue reported on code.google.com by shaun.voysey@outlook.com on 1 Mar 2012 at 7:41

GoogleCodeExporter commented 9 years ago
Hi, 
the <u> tag seems to be not allowed. See table (2.2.1: Required Modules) here:

http://www.idpf.org/epub/20/spec/OPS_2.0_latest.htm#Section2.2

Presentation: b, big, hr, i, small, sub, sup, tt

 an <i> tags are there but no <u>

Original comment by SchubiJu...@gmail.com on 13 Nov 2013 at 2:10

GoogleCodeExporter commented 9 years ago
Using CSS instead of the deprecated <u> tag works fine and flightcrew shows no 
errors.

<span style="text-decoration: underline;">This text is underlined</span>

http://webdesign.about.com/od/htmltags/p/bltags_u.htm

Original comment by SchubiJu...@gmail.com on 13 Nov 2013 at 2:45

GoogleCodeExporter commented 9 years ago
The U tag is so prevalent in codes, that it really does seem a shame it cannot 
be used. 

Original comment by jga...@gmail.com on 21 Feb 2014 at 3:14

kevinhendricks commented 11 months ago

Closed as this repo is being archived.