翻译的建议

This commit is contained in:
dreamapple 2016-07-18 10:50:36 +08:00
parent e72ae07927
commit 2269c9f893
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ code-example(language="html" escape="html").
:marked
Almost all HTML syntax is valid template syntax. The `<script>` element is a notable exception; it is forbidden, eliminating the risk of script injection attacks. (In practice, `<script>` is simply ignored.)
几乎所有的HTML语法都是有效的模板语法。但值得注意的例外是`<script>`元素,它被禁用了,以阻止脚本注入攻击的风险。(在实践中`<script>`只是被忽略了。)
几乎所有的HTML语法都是有效的模板语法。但值得注意的例外是`<script>`元素,它被禁用了,以阻止脚本注入攻击的风险。(实际上`<script>`只是被忽略了。)
Some legal HTML doesnt make much sense in a template. The `<html>`, `<body>`, and `<base>` elements have no useful role in our repertoire. Pretty much everything else is fair game.