Note that there are some explanatory texts on larger screens.

plurals
  1. POstrange markup in HTML (HTML_ATR HTML_ELM, SYN_ROW, JS_KEY, etc..)
    text
    copied!<p>I've build a website for a client and as we all know 'it works just fine on my machine' :-) as it does on several machines at my clients location. But they have (so far) 3 pc's on wich some errors occur, like cannot find ElementById. These machines are normal up-to-date windows machines running IE8. </p> <p>When comparing the html-source of the page on my machine with one of a machine on wich the error occurred I found that there seems to be a s--tload of html injected. Loads of DIVS and SPAN around attributes and elementID's and even javascript :</p> <p>Normal:</p> <pre><code>&lt;script type="text/javascript" language="JavaScript"&gt; </code></pre> <p>After injection: </p> <p><b>script</b> will be surrounded with a SPAN tag using class 'HTML_ELM'<br> <b>type</b> will be surrounded with a SPAN tag using class 'HTML_ATR'<br> <b>"text/javascript"</b> will be surrounded with a SPAN tag using class 'HTML_VAL'</p> <pre><code>&lt;&lt;span class="HTML_ELM"&gt;script&lt;/span&gt; &lt;span class="HTML_ATR"&gt;type&lt;/span&gt;=&lt;span class="HTML_VAL"&gt;"text/javascript"&lt;/span&gt; &lt;span class="HTML_ATR"&gt;language&lt;/span&gt;=&lt;span class="HTML_VAL"&gt;"JavaScript"&lt;/span&gt;&gt; </code></pre> <p>even ID's of html elements are surrounded with these SPAN tags (<code>class='JS_STR'</code>) probably causing the problem of cannot find ElementById</p> <p>I have no idea why this is happening, I also cannot find a cause on Google when searching for these weird classnames used by the injected <code>SPAN</code>/<code>HTML</code> tags (<code>HTML_VAL</code>, <code>HTML_ELM</code>, <code>HTML_VAL</code>).</p> <p>Does anyone here know what could be causing this ?</p> <p>many thanks, Jurjen.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload