What is the difference between html.AttributeEncode vs html.Encode?

What is the difference between html.AttributeEncode vs html.Encode?

AttributeEncode converts only a handful of characters:

  • "
  • &
  • <
  • \

Encode does a full HtmlEncode, encoding any characters that aren‘t in Html.

 

What is the difference between html.AttributeEncode vs html.Encode?

上一篇:Android UI开发第二十八篇——Fragment中使用左右滑动菜单


下一篇:dotnet OpenXML 读取 PPT 内嵌 ole 格式 Excel 表格的信息