12-21-2023, 10:32 AM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jan 2021
Device: POCO F2 Pro
|
Remove blank lines between paragraphs with the same style
Is it possible to remove blank lines only between paragraphs with the same style? For example, I have this code:
Code:
<p class="style1">Line 1</p> <p class="style1"> </p> <p class="style1">Line 2</p> <p class="style1"> </p> <p class="style2">Line 3</p> <p class="style2"> </p> <p class="style2">Line 4</p> <p class="style2"> </p> <p class="style1">Line 5</p> Code:
<p class="style1">Line 1</p> <p class="style1">Line 2</p> <p class="style1"> </p> <p class="style2">Line 3</p> <p class="style2">Line 4</p> <p class="style2"> </p> <p class="style1">Line 5</p> |
12-21-2023, 11:13 AM | #2 |
the rook, bossing Never.
Posts: 12,268
Karma: 89531599
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
There should be NO <p class="style1"> </p> anywhere.
White space is done in the css style. Automatic if styling paragraphs in Word or LO Writer. |
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Add blank lines between paragraphs. | bn_el | KOReader | 5 | 11-02-2017 11:14 AM |
blank lines between paragraphs | franklekens | Kobo Reader | 71 | 01-26-2015 12:52 PM |
Blank lines between paragraphs? | ascherjim | OpenInkpot | 30 | 12-03-2009 12:19 AM |
Removing blank lines between paragraphs? | corroonb | Workshop | 3 | 08-13-2009 04:23 PM |
Insert Blank Lines Between Paragraphs | Timoleon | Calibre | 14 | 03-22-2009 02:43 PM |