![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Inserting self closing tags (xhtml)
Hi
The Calibre Editor, among many many other things, allows us to insert double tags in Code view. They have to be chosen from a drop down menu. Every time I have to add an self closing tag* (balise auto-fermante in French), I have to tweak it manually. As far as I know the use of these self closing tags is correct for xhtml. Further, for ePub3 we are advised to use xhtml. Would it be possible - either to allow the user to add a self closing tag - or to offer the choice of <br/> and <hr/>? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,310
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Why do you care? Using <br></br> instead of <br/> is perfectly valid and more widely supported (i.e. is interpreted correctly by more HTML renderers). Since you are using a shortcut to insert it anyway, it's not like it more to type.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
OK
I never tried it because it was a double tag and I thought it needed something between the two tags (dont"t ask me what). ![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
whatever happened to autofix closing tags ? | cybmole | Sigil | 12 | 05-22-2013 10:01 AM |
closing tags not auto-fixing | cybmole | Sigil | 8 | 12-04-2012 08:49 AM |
questions on self-closing tags and legal xhtml in epubs | KevinH | ePub | 5 | 04-23-2012 10:12 PM |
Release 0.7.54 - Mobi self-closing tags | Moonraker | Calibre | 2 | 04-09-2011 07:35 AM |
Inserting paragraph tags | Oldpilot | Sigil | 3 | 02-21-2011 12:00 AM |