chat-html fixing URLs