Hi all,
I’m having this weird problem with a real simple plugin I’m trying to write. For a project running on 1.6.8 I need to replace hr tags by hmtl a little more fancy.
Sounds simple, but for some strange reason, this won’t work:
$newstr = str_replace('<hr >', '<div class="hr"><hr ></div>', $data);i can get it to work if i change it to
$newstr = str_replace('<hr ', '<div class="hr"><hr ></div>', $data);but that’s not what i need.
For some strange reason EE doesn’t like the last
> and I can’t figure out why.
Any ideas?