Search/Replace for correcting ebooks with missing paragraphs: Difference between revisions

From Funiaita
(Created page with "== Setting/Replace mode == * All text files * Wrap * Replace all == wrong <nowiki><p></nowiki> == * Find &lt;p&gt; * Replace <nowiki><p></nowiki> * Find &lt;/p...")
 
No edit summary
Line 13: Line 13:
* Replace
* Replace
<nowiki></p></nowiki>
<nowiki></p></nowiki>

== Wall of text (put a lot of new lines into the file) ==
Do only use this for the bad files, not for "all" files!

* Find
<link href="stylesheet.css" type="text/css" charset="UTF-8" rel="stylesheet"/>
<meta
* Replace
<link href="stylesheet.css" type="text/css" charset="UTF-8" rel="stylesheet"/>
<style>div {white-space: pre-line; pre-line;}</style>
<meta

Revision as of 17:18, 26 July 2019

Setting/Replace mode

  • All text files
  • Wrap
  • Replace all

wrong <p>

  • Find
&lt;p&gt;
  • Replace
<p>
  • Find
&lt;/p&gt;
  • Replace
</p>

Wall of text (put a lot of new lines into the file)

Do only use this for the bad files, not for "all" files!

  • Find
<link href="stylesheet.css" type="text/css" charset="UTF-8" rel="stylesheet"/>
<meta
  • Replace
<link href="stylesheet.css" type="text/css" charset="UTF-8" rel="stylesheet"/>
<style>div {white-space: pre-line; pre-line;}</style>
<meta