adobe / htl-spec

HTML Template Language Specification
Apache License 2.0
280 stars 146 forks source link

Clarify where exactly Sightly Block Statements are supported #23

Closed kwin closed 7 years ago

kwin commented 8 years ago

At least within the starting and closing <script> it seems that Sightly Block Statements are just ignored. Please clarify in the specification where exactly Sightly Block Statements are supported.

raducotescu commented 7 years ago

The content of a <script> tag is Text, therefore block statements in <script> tags cannot be interpreted. For more details check https://www.w3.org/TR/html5/scripting-1.html#restrictions-for-contents-of-script-elements.