Need help with K2 and w3c - Joomla! Forum - community, help and support


hello all,

i know w3c validation has not perfect have weird issue k2.

if article published (in item view options)
readmore - text (with introtext hide , fulltext show) it's ok

however
if article published as
no readmore - text (with introtext show , fulltext (show or hide) got following w3c errors

code: select all

required attribute "type" not specified
<script language="javascript">


source

code: select all

<!-- item text -->
 <div class="itemfulltext">
 <script language="javascript">

 var br ='<br>';
 var xbr ='<br/>';

 var div ='<div>';
 var span ='<span>';
 var p ='<p>';

 var ='<i>';
 var u ='<u>';
 var s ='<s>';
 var b ='<b>';

 var endi ='</i>';
 var endu ='</u>';
 var ends ='</s>';
 var endb ='</b>';
 
 var endp ='</p>';
 var enddiv ='</div>';
 var endspan ='</span>';

 var ='<a href="###url###">';
 var enda ='</a>';
 
 </script>


thanks in advance help.

it should <script type="text/javascript">





Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support