Are CDATA tags ever necessary in script tags and if so when?
(脚本标记中是否曾经需要CDATA标记?如果需要,何时?)
In other words, when and where is this:
(换句话说,何时何地:)
<script type="text/javascript">
//<![CDATA[
...code...
//]]>
</script>
preferable to this:
(对此更可取:)
<script type="text/javascript">
...code...
</script>
ask by brad translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…