I have problems with editing old posts with smilies after I have made changes in my database as you advice for xml-compliance. I think, the problem was with one of these:
update minibbtable_posts set post_text=REPLACE(post_text,' alt="">',' alt="" />') where POSITION(' alt="">' IN post_text)>0;
update minibbtable_posts set post_text=REPLACE(post_text,' border="0"','') where POSITION(' border="0"' IN post_text)>0;
Now when I edit an old post, I get this instead of ;) and other smilies:
<img src="http://www.indostan.ru/forum/img/smilies/sm015.gif" alt="" />
With new posts everything is OK.
I made a new installation, so I don't think the problem is with wrong editing.
It is strange, because in the source code the wrong and the right smileys look exactly the same (at least for me):
The wrong one from old posts: <img src="http://www.indostan.ru/forum/img/smilies/sm015.gif" alt="" />
The new one, which is ok: <img src="http://www.indostan.ru/forum/img/smilies/sm015.gif" alt="" /> |