Yeah, I was going to say that I don't think you can format a post using HTML if you have "Allow HTML" set to no, it has to be bbcode. If you set allow html to yes, post some html, then set it back to no it will just show the tags instead of formatting it (which means you can't just put HTML in a post in the db). So you'll probably have to convert your post to bbcode somehow. ETA: well, I guess what I should say is that I'm not sure if it can be done. It's possible that there's a field in the db somewhere that says what kind of data is in the pagetext field that would allow it to work.
Also, there's a function called htmlspecialchars_uni() that's the equivalent to htmlentities you mentiond, it's called in a lot of places.
Other than that, I think you thanked me too soon because I thought I had an idea of what might be going on, but now I don't know. I'll keep looking at it...EDIT: great, glad you got it working.
|