View Single Post
Old 10-21-2019, 09:12 AM   #1
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,792
Karma: 146391129
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>
The text shows bold and/or italic correctly. But if I have text that looks like this...

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>
The text is just plain text. Can this be fixed so if the bold and/or italic is part of a class that the text shows the bold and/or italic?

Thanks.
JSWolf is offline   Reply With Quote