![]() |
#1 |
plus ça change
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 101
Karma: 32134
Join Date: Dec 2009
Location: France
Device: Kindle PW2, Voyage
|
Viewing non-breaking and narrow spaces as code?
Apologies if this is addressed in the user manual. I've had a look there, but haven't found the answer to my question.
Is there a way to show non-breaking spaces as Code:
I'd also like to be able to view narrow non-breaking spaces and soft hyphens in the same way. At the moment, I can't even seem to get these highlighted. :-( Any help greatly appreciated. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,569
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
If you want html entities rather than characters, you'll have to convert them yourself. If your code already contains entities (instead of characters) calibre will leave them alone unless you use the Beautify or Fix HTML tools (which will convert them to characters). There is no "Convert these unicode characters to html entities" tool. But it shouldn't be too hard to save some regex or a python S&R function to do what you want.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
plus ça change
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 101
Karma: 32134
Join Date: Dec 2009
Location: France
Device: Kindle PW2, Voyage
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[old thread] non breaking spaces (* and  ) automatically removed | artoros | Sigil | 31 | 09-04-2014 06:23 PM |
0.8.63 strips non-breaking spaces when converting from epub to mobi | veezh | Calibre | 7 | 08-04-2012 08:39 AM |
Non breaking spaces? | troymc | Sigil | 6 | 05-22-2010 07:47 AM |
Code / Cypher Breaking | ahi | Writers' Corner | 22 | 08-01-2009 11:57 AM |
Seriously thoughtful OLED displays - narrow viewing angle? | HarryT | Lounge | 2 | 05-24-2009 10:14 AM |