Use HTML entities when appropriate