John Blackbourn <john@wormfeeder.com> wrote: > When validating my web page, which contains some JavaScript, > the following error is generated: > > end tag for element "A" which is not open > ...r((fs),((di.length)-6-fs)) + '</a></td></tr>'); The content model for the SCRIPT element type is CDATA. Inside it, everything starting with "</" (ETAGO) and immediately followed by a namestart character (a letter) will be recognized as the beginning of an end tag. Since the element was never opened, this will be reported as an error. One workaround is to escape "/" like so "...'<\/a><\/td><\/tr>'...". -- David HåsätherReceived on Sunday, 30 May 2004 16:27:50 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 1 October 2009 14:48:52 GMT