翻译的建议: "In practice"在文中翻译为"实际上"可能比"在实践中"要好理解.
This commit is contained in:
parent
657bf63bdf
commit
a56b460e20
|
@ -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 doesn’t 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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue