1

I am coding in Yii and whenever I put any JS it tags it in CDATA.

Why is it getting added automatically? and will there be any problem if I remove it as I write my markup in HTML5.

Sankalp Singha
  • 4,461
  • 5
  • 39
  • 58

1 Answers1

1

Like what arnaud said in the comment if the question, it wont affect your html 5 code. So its okay.

In addition, cdata tags are quite necessary to be used for scripts in XML, so its actually a feature from Yii.

Syakur Rahman
  • 2,056
  • 32
  • 40