Log In
Flying Weather Castform Don't have an account yet? Register now!
.

Forum Thread

HTML isn't working

Forum-Index Bug Reports Resolved HTML isn't working
toma
OFFLINE
Trainerlevel: 49

Forum Posts: 576
Posted: Sat, 23/06/2018 21:49 (6 Years ago)
I just noticed this today. On various profiles are HTML code [like on mine is ♦ which should make a diamond emoji] and those have been working for a while. Today I was looking at someone's profile who had the HTML code and emojis last time I saw their profile, but now it's not working.

shows what it looks like currently, instead of those codes being replaced with their respective emojis/icons.

I don't know if it's just for me, but I checked it on my laptop & mobile and the same problem occurs.


imagine
OFFLINE
Trainerlevel: 94

Forum Posts: 2,087
Posted: Sat, 23/06/2018 21:51 (6 Years ago)
it also doesn’t work for signatures
vvvv




SwampFall
OFFLINE
Trainerlevel: 59

Forum Posts: 601
Posted: Mon, 25/06/2018 18:00 (6 Years ago)
After some testing I think you need the following code after reading from the database
html_entity_decode($post_text)
This will convert &→ to → and the browser will then convert → to what it's supposed to be.