Convert HTML Entities

将字符串中的字符 &<>" (双引号), 以及 ' (单引号)转换为它们对应的 HTML 实体。

原文地址:https://www.cnblogs.com/renbo/p/6720070.html