当标题中含有<script>便会提示错误。
注:因为标题中无法写<script>,故在<script>上加了一个斜线。
标题示例如下:
Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as <script>, as they will not be parsed.
错误提示:
Uncaught SyntaxError: Unexpected token <