搜索文档
htmlEncode(str): string
str
string
html字符编码
编码后的字符串
Example
htmlEncode('<script>'); // => <script>