Quote:
Originally Posted by Peter Blaise
replace:
<div>blah-blah-blah</div>
[...]
or even replace it with:
<blockquote>blah-blah-blah</blockquote>
[...]
So, case closed... unless anyone else has any additional ideas?
|
Use the plugin "Diaps Editing Toolbag" which is made exactly for that.
Be aware that your regex won't correctly replace nested divs :
<div> something <div>else.</div> Stop.</div>
=> <div><blockquote> something <div>else.</blockquote></div> Stop.</div>
which is incorrect.