View Single Post
Old 06-28-2015, 03:53 PM   #25
Purple Lady
Grand Sorcerer
Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.
 
Purple Lady's Avatar
 
Posts: 5,698
Karma: 16542228
Join Date: Feb 2010
Location: Pennsylvania
Device: Huawei MediaPad M5, LG V30, Boyue T80S, Nexus 7 LTE, K3 3G, Fire HD8
Quote:
Originally Posted by DiapDealer View Post
No, that would occur in the normal (x)html markup. Something like:
Code:
<p class="normal">This is normal body text</p>
The CSS would then contain something like:
p.normal { text-indent: 1.2em; text-align: justify; }

So it is necessary to the replace it in the text (if you want to change the class name), but it's definitely a rookie mistake to try and match & replace everyday "words" in the html attributes without taking into account the possibility of those everyday words occurring in the content. Need to refine the search to isolate the markup/attributes only.
Oh yeah. Doh! That's what I get for replying without my brain.
Purple Lady is offline   Reply With Quote