View Single Post
Old 02-24-2022, 03:31 PM   #4
DyckBook
Morlock
DyckBook ought to be getting tired of karma fortunes by now.DyckBook ought to be getting tired of karma fortunes by now.DyckBook ought to be getting tired of karma fortunes by now.DyckBook ought to be getting tired of karma fortunes by now.DyckBook ought to be getting tired of karma fortunes by now.DyckBook ought to be getting tired of karma fortunes by now.DyckBook ought to be getting tired of karma fortunes by now.DyckBook ought to be getting tired of karma fortunes by now.DyckBook ought to be getting tired of karma fortunes by now.DyckBook ought to be getting tired of karma fortunes by now.DyckBook ought to be getting tired of karma fortunes by now.
 
DyckBook's Avatar
 
Posts: 34
Karma: 2734796
Join Date: Oct 2021
Device: Kindle Paperwhite
Quote:
Originally Posted by paperback View Post
...is there a way to easily "beautify" the edit window to remove these "line-breaks" and make the text-lines go all the way across?
Here is a saved search that I use to accomplish that by removing all \n characters between <p> </p> tags:

[\r\n]+(?=(?:[^<]+|<(?!/?p\b))*</p>)
DyckBook is offline   Reply With Quote