View Single Post
Old 03-14-2025, 03:24 PM   #10457
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by JimmXinu View Post
New Test Version Posted

2025-03-10
- Add remove_empty_p option, usually for AO3/OTW. #1177

This has been asked for more than once and I never put it in, partly because I thought (and still think) it's something AO3 should have addressed. Right now, I just want to be able to fix something.

Let me know if you think it's too narrow or too broad, but I will expect references to story chapters showing that.

Code:
## Some sites/authors/stories (notably AO3/OTW) add empty p tags where
## they aren't intended by the author during document upload and not
## all authors know how/take the time to fix it.  This feature removes
## all "empty" <p> tags, ie, those containing only whitespace or <br>
## tags.  Literally: <p[^>]*>\s*(<br/>)*\s*</p>
#remove_empty_p: false
Thank you so much for making this happen! I don't always have time to check stories to remove the empty <p> tags and if I can add this to my settings it'll save me so much time.

I really appreciate all your efforts to make this plugin amazing and useful.

Amalthia
Amalthia is offline   Reply With Quote