翻译的建议: "In practice"在文中翻译为"实际上"可能比"在实践中"要好理解.

This commit is contained in:
dreamapple 2016-07-18 10:38:00 +08:00
parent 657bf63bdf
commit a56b460e20
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.