开发者

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

What is the difference between htm开发者_如何学Pythonl.AttributeEncode vs html.Encode?


AttributeEncode converts only a handful of characters:

  • "
  • &
  • <
  • \

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜