View Single Post
Old 04-29-2014, 09:20 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,116
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by cager View Post
This is what I get:
Code:
<p class="calibre11"><b class="calibre10"><span lang="EN-US" class="calibre1"><h2>*1*</h2></span></b></p>
H# tags can not be inside a P tag

Why not just change the set of P to a H2

Search:
Code:
<p (class="calibre11"><b class="calibre10"><span lang="EN-US" class="calibre1">\*\d+\**</span></b>)</p>
Replace:
Code:
<h2 \1</h2>
Note the location of the capture (

IMHO the Bold part is necessary as H# default to bold
theducks is offline   Reply With Quote