02-18-2021, 10:30 AM | #1 |
Junior Member
Posts: 7
Karma: 10
Join Date: May 2019
Device: Kindle Paperwhite
|
double quotes are shown as "
In my editor of Calibre 5.11 is in the content.opf in l.17 shown the attribute ".
Why does it not show it as double quote & why is l.17 not shown in notepad after I extracted epub with 7zip? |
02-18-2021, 11:43 AM | #2 |
Bibliophagist
Posts: 36,543
Karma: 146059340
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
What are you trying to read a file that is intended for machine use?
You will also find in the dc:description block, that the < and > are also shown as named entities (along with ', & and "). These are the 5 named entities that XML, HTML5 and epub3 allow. So instead of <div>, you would see & lt ;div& gt ; as an example. And what is " l.17"? Line #17? Last edited by DNSB; 02-18-2021 at 11:46 AM. |
Advert | |
|
02-20-2021, 08:10 AM | #3 |
the rook, bossing Never.
Posts: 11,581
Karma: 87456643
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
OTOH proper double quotes are “ and ” but don't work where a tag uses ".
^^^ what DNSB says. Depends what file you look at and if the double quote is inside or outside a tag. The < and > obviously always have to be replaced by entities in html files when they are not tags but text. |
02-22-2021, 05:39 AM | #4 |
Junior Member
Posts: 7
Karma: 10
Join Date: May 2019
Device: Kindle Paperwhite
|
Ah thanks.
Yes, I mean line 17. Why can't I view the line 17 in Calibre, but get it shown in notepad? |
02-22-2021, 10:24 AM | #5 | |
Well trained by Cats
Posts: 29,950
Karma: 55705602
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Calibre EDITOR has no problem displaying line 1 onward. NOTE Code lines are counted without wraps (Calibre does not show line numbers on wrapped lines. |
|
Advert | |
|
Tags |
calibre 5.11, content.opf, double quote, editor, epub |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Change single quotes to double quotes | Elfwreck | Workshop | 16 | 04-26-2013 10:06 AM |
MS Word Find & Replace and "Smart" quotes question. | Ahu Lee | Workshop | 1 | 01-14-2013 11:02 AM |
Orphaned end double quotes | AlexBell | Workshop | 2 | 09-07-2011 07:33 AM |
Single quotes to double quotes? | lunixer | General Discussions | 35 | 10-10-2010 05:47 AM |
Dealing with double quotes " in URL | kinurev | Recipes | 6 | 10-03-2010 09:57 AM |