Documents where example markup is given in PRE
elements are treated as real links. I don't know how the
following will turn out, I'll follow-up with a file if it's a real
mess.
<pre>
<link
rel="stylesheet"
type="text/css"
href="/styles/Example.css"
title="Example" />
</pre>
In this case the apparent URL /styles/Example.css is
treated as if it is a relative link from the current
document. I suggest markup in pre elements should not
be processed.
Logged In: YES
user_id=1022070
A further example is where image references are given in PRE
elements:
<pre>
...
menutxt += '<img src="image.gif" alt="...
" />';
...
</pre>
In this case, the apparent URL "image.gif" is
treated as if it is a relative link from the current document.
That is, it is resolved to literally:
http://www.example.com/directory/"image.gif"
Again, this type of reference should not be checked.
I'm planning a new release of JSpider in which this issue and the entire issue of HTML parsing is addressed. Please stay tuned.