Update HTML string conversion