|
|
#1 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,803
Karma: 150249619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Bug in the code editor showing bold/italic
If I have code that look like this...
Code:
<p><b>This is bold text.</b></p> <p><b><i>This is bold italic text.</i></b></p> <p><i>This is italic text.</i></P> Code:
.bold {
font-weight: bold;
}
.bolditalic {
font-weight: bold;
font-style: italic;
}
.italic {
font-style: italic;
}
<p class="bold">This is bold text.</p>
<p class="bolditalic">This is bold italic text.</p>
<p class="italic">This is italic text.</P>
Thanks. |
|
|
|
|
|
#2 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,270
Karma: 61916422
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Jon Jon Jon
Of all the folk here, I expected ALL the gory details ![]() Where was the stylesheet code placed? How was it linked to the sample code. The What Happened IS perfectly
|
|
|
|
|
|
#3 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,293
Karma: 1428313
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Quote:
Windows 10 x64 1903, calibre 4.2 64bits. Are you sure you css style sheet is linked to you html document? |
|
|
|
|
|
|
#4 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,162
Karma: 92500001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
I believe that JSWolf is referring to the code view, not the file preview. I see what he sees, but I do not consider it to be a problem and doubt it can be easily changed.
|
|
|
|
|
|
#5 | |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,270
Karma: 61916422
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
(I would not have expected a fixed font, code editor to even do more than colorize code)
|
|
|
|
|
|
|
#6 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,803
Karma: 150249619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Yes, that is exactly what I am referring to. It is not something new to version 3. But I finally got around to reporting it. I was editing an eBook easier today and noticed it. So i decided to report it.
|
|
|
|
|
|
#7 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,610
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The syntax highlighting in the editor is never going to take CSS into account that would absolutely kill performance. You will get bold/italic fonts if you use HTMLtags whose default appearance is bold/italic.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Italic/bold not showing | Phssthpok | Editor | 3 | 02-05-2019 11:48 AM |
| Best way to do italic and bold | bookman156 | ePub | 166 | 04-09-2016 04:43 PM |
| iPad "Upgraded" to iBooks 3.2 – Bold fonts are extra-bold, italics are now bold-italic | MHC | Apple Devices | 4 | 03-03-2014 02:50 PM |
| Aura HD Simple Fix for the Stupid Italic/Bold Bug | doubleshuffle | Kobo Reader | 15 | 07-01-2013 06:11 PM |
| Metadata Editor - showing code not text | Paxman53 | Sigil | 7 | 07-04-2012 07:39 AM |