View Single Post
Old 05-10-2019, 03:36 PM   #9
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,217
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by agirlnamedfia View Post
This is what the code in "Edit Book" looks like. As marked, the line breaks happen when every line gets a new line number, for lack of a better explanation:


The problem is that your comments have line breaks inserted with the ENTER key. This creates a non-visual mark (LF) on the end of each of those points. You can also use regex to get rid of then:

Code:
Search field: comments
Search for: "([^>])\n"
Replace with: "\1 "
*remove the quotation marks and make sure you put the space after the "1"

Quote:
Originally Posted by agirlnamedfia View Post
None of these got rid of the font code.
Well, regex gain:

Code:
Search field: comments
Search for: <font(.*?)>(.*?)</font>
Replace with: \2

Last edited by thiago.eec; 05-10-2019 at 04:15 PM. Reason: correction for the font code
thiago.eec is offline   Reply With Quote