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.
精彩评论