Flask Documentation (1.1.x)with Dependencies Thread Locals What Flask is, What Flask is Not HTML/XHTML FAQ History of XHTML History of HTML5 HTML versus XHTML What does “strict” mean? New technologies in HTML5 What should be used Flask as follows: autoescaping is enabled for all templates ending in .html, .htm, .xml as well as .xhtml when using render_template(). autoescaping is enabled for all strings when using render_template_string() automatically escaping special characters for you. Special characters in the sense of HTML (or XML, and thus XHTML) are &, >, <, " as well as '. Because these characters carry specific meanings in documents on their0 码力 | 428 页 | 895.98 KB | 1 年前3
Tornado 4.5 Documentation
many of these entries are not present). escape: alias for tornado.escape.xhtml_escape xhtml_escape: alias for tornado.escape.xhtml_escape url_escape: alias for tornado.escape.url_escape json_encode: alias when you execute the template. All template output is escaped by default, using the tornado.escape.xhtml_escape function. This behavior can be changed globally by passing autoescape=None to the Application need additional escaping. Additionally, either care must be taken to always use double quotes and xhtml_escape in HTML attributes that may contain untrusted content, or a separate escaping function must0 码力 | 333 页 | 322.34 KB | 1 年前3
Tornado 6.0 Documentation
many of these entries are not present). escape: alias for tornado.escape.xhtml_escape xhtml_escape: alias for tornado.escape.xhtml_escape url_escape: alias for tornado.escape.url_escape json_encode: alias when you execute the template. All template output is escaped by default, using the tornado.escape.xhtml_escape function. This behavior can be changed globally by passing autoescape=None to the Application need additional escaping. Additionally, either care must be taken to always use double quotes and xhtml_escape in HTML attributes that may contain untrusted content, or a separate escaping function must0 码力 | 869 页 | 692.83 KB | 1 年前3
Tornado 6.1 Documentation
many of these entries are not present). escape: alias for tornado.escape.xhtml_escape xhtml_escape: alias for tornado.escape.xhtml_escape url_escape: alias for tornado.escape.url_escape json_encode: alias when you execute the template. All template output is escaped by default, using the tornado.escape.xhtml_escape function. This behavior can be changed globally by passing autoescape=None to the Application need additional escaping. Additionally, either care must be taken to always use double quotes and xhtml_escape in HTML attributes that may contain untrusted content, or a separate escaping function must0 码力 | 931 页 | 708.03 KB | 1 年前3
Tornado 5.1 Documentation
many of these entries are not present). escape: alias for tornado.escape.xhtml_escape xhtml_escape: alias for tornado.escape.xhtml_escape url_escape: alias for tornado.escape.url_escape json_encode: alias when you execute the template. All template output is escaped by default, using the tornado.escape.xhtml_escape function. This behavior can be changed globally by passing autoescape=None to the Application need additional escaping. Additionally, either care must be taken to always use double quotes and xhtml_escape in HTML attributes that may contain untrusted content, or a separate escaping function must0 码力 | 359 页 | 347.32 KB | 1 年前3
Tornado 6.4 Documentation
many of these entries are not present). escape: alias for tornado.escape.xhtml_escape xhtml_escape: alias for tornado.escape.xhtml_escape url_escape: alias for tornado.escape.url_escape json_encode: alias when you execute the template. All template output is escaped by default, using the tornado.escape.xhtml_escape function. This behavior can be changed globally by passing autoescape=None to the Application need additional escaping. Additionally, either care must be taken to always use double quotes and xhtml_escape in HTML attributes that may contain untrusted content, or a separate escaping function must0 码力 | 432 页 | 402.58 KB | 1 年前3
Tornado 6.4 Documentation
many of these entries are not present). escape: alias for tornado.escape.xhtml_escape xhtml_escape: alias for tornado.escape.xhtml_escape url_escape: alias for tornado.escape.url_escape json_encode: alias when you execute the template. All template output is escaped by default, using the tornado.escape.xhtml_escape function. This behavior can be changed globally by passing autoescape=None to the Application need additional escaping. Additionally, either care must be taken to always use double quotes and xhtml_escape in HTML attributes that may contain untrusted content, or a separate escaping function must0 码力 | 432 页 | 402.58 KB | 1 年前3
Tornado 6.4 Documentation
many of these entries are not present). escape: alias for tornado.escape.xhtml_escape xhtml_escape: alias for tornado.escape.xhtml_escape url_escape: alias for tornado.escape.url_escape json_encode: alias when you execute the template. All template output is escaped by default, using the tornado.escape.xhtml_escape function. This behavior can be changed globally by passing autoescape=None to the Application need additional escaping. Additionally, either care must be taken to always use double quotes and xhtml_escape in HTML attributes that may contain untrusted content, or a separate escaping function must0 码力 | 432 页 | 402.58 KB | 1 年前3
Tornado 6.3 Documentation
many of these entries are not present). escape: alias for tornado.escape.xhtml_escape xhtml_escape: alias for tornado.escape.xhtml_escape url_escape: alias for tornado.escape.url_escape json_encode: alias when you execute the template. All template output is escaped by default, using the tornado.escape.xhtml_escape function. This behavior can be changed globally by passing autoescape=None to the Application need additional escaping. Additionally, either care must be taken to always use double quotes and xhtml_escape in HTML attributes that may contain untrusted content, or a separate escaping function must0 码力 | 423 页 | 398.18 KB | 1 年前3
Tornado 6.2 Documentation
many of these entries are not present). escape: alias for tornado.escape.xhtml_escape xhtml_escape: alias for tornado.escape.xhtml_escape url_escape: alias for tornado.escape.url_escape json_encode: alias when you execute the template. All template output is escaped by default, using the tornado.escape.xhtml_escape function. This behavior can be changed globally by passing autoescape=None to the Application need additional escaping. Additionally, either care must be taken to always use double quotes and xhtml_escape in HTML attributes that may contain untrusted content, or a separate escaping function must0 码力 | 407 页 | 385.03 KB | 1 年前3
共 153 条
- 1
- 2
- 3
- 4
- 5
- 6
- 16













