请问这个怎么修改
(article
h2>NTin1se</h2)
<form
textarea id= ntripiesnane=ntrinles
<http://pred1> (http:1/obj> (http://Sub1>
http://sub2> http://pred2#an2>1iteral1”
http://Sub3#an3>http://pred3> :bnode3
(http://pred4>
“1iteral 2@1ang
-:bnodel
”1iteral3”'http://typ
-:bnode5
<http:/pred5>
</textarea>
Tag startis not closed
(/form>
(script>
Var edi tor 三CodeMirror.fromTextArea(docuent.getElem
(/script
(p>(strong>MIIE types de fined:</s tr ong><code>text/n-tripl
白</article>
//前面加\试下
这个问题即使不改大多数浏览器也能正常显示。不过对于有xml强迫症的校验器来讲可能会通不过,因为校验规则本身不会对textarea内的内容另眼相看,结果查到一大堆的<...>却找不到合适的</...>。
解决的方法是使用转义符。
譬如你可以用<来替换<,用>替换>。
或者(另一种转义风格)用<来替换<,用>替换>。