|
|
#1 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,686
Karma: 772746
Join Date: Sep 2010
Device: Sony PRS 650, Kindle for PC
|
closing tags not auto-fixing
if I replace all <p class= whatever with <h2 class=whatever across all files then sigil no longer applies matching closing tags , instead it gives me tag errors to fix all I did was install over 6.0 I did not alter any other preferences. upate: i reinstalled 6.0 , tried same operation on same book - the same regex now works ok - closing tags are fixed as I want them to be, automatically Last edited by cybmole; 12-03-2012 at 07:57 AM. |
|
|
|
|
|
#2 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,087
Karma: 1211084
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
You have to change your Preferences ->Clean Source options from "Pretty Print" to "Pretty Print Tidy" (which is the functional equivalent of what you had in 0.6). Users upgrading from 0.6 have to manually do this.
__________________
Like my calibre plugins or Sigil work? Say thanks with PayPal |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,686
Karma: 772746
Join Date: Sep 2010
Device: Sony PRS 650, Kindle for PC
|
i thought it may be something like that,
perhaps add a warning to release notes re need to manually adjust ? |
|
|
|
|
|
#4 |
|
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,384
Karma: 848775
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
|
|
|
|
|
|
#5 |
|
Connoisseur
![]() Posts: 82
Karma: 10
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: kindle
|
FWIW -- I tried all 4 appearance options -- just replacing <i> with nothing, and I can't the 6.0 behaviour either
The 4 options all left the </i> Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> </head> <body> <p>xxxxxxxxxxxxxxxxxxx</p> <p>xxxxxxxxxxxxxxxxxxxxxxxxxxx</p> <p>xxxx used to have the opening tag xxxxxxxxx</i></p> </body> </html> Paul Last edited by phossler; 12-03-2012 at 10:17 PM. |
|
|
|
|
|
#6 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,686
Karma: 772746
Join Date: Sep 2010
Device: Sony PRS 650, Kindle for PC
|
|
|
|
|
|
|
#7 | |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,087
Karma: 1211084
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
Quote:
I have verified this btw, if you have both 0.6 and 0.6.1, start up 0.6, make sure it is set to "Pretty Print", exit and start 0.6.1 and it stays at "Pretty Print".
__________________
Like my calibre plugins or Sigil work? Say thanks with PayPal |
|
|
|
|
|
|
#8 |
|
♫
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 326
Karma: 504884
Join Date: Aug 2010
Location: Germany
Device: Bookeen Frontlight / Kindle 3 / Kobo Touch / Ipod touch / Nook Color
|
|
|
|
|
|
|
#9 | |
|
Connoisseur
![]() Posts: 82
Karma: 10
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: kindle
|
Quote:
Paul |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| questions on self-closing tags and legal xhtml in epubs | KevinH | ePub | 5 | 04-23-2012 10:12 PM |
| Help with EPUb validation and closing tags | book24 | ePub | 1 | 05-24-2011 05:16 PM |
| Release 0.7.54 - Mobi self-closing tags | Moonraker | Calibre | 2 | 04-09-2011 07:35 AM |
| find replace - does it auto-fix closing tqags ??? | cybmole | Sigil | 6 | 01-19-2011 02:32 PM |
| Auto sort tags? | scottjl | Calibre | 2 | 12-19-2009 11:56 AM |