Only encode HTML strings