User login

Page appears to stop loading halfway through with JavaScript from footer closure area up in the content

Had this suddenly up in the content where it shouldn't be, and nothing that should have loaded was there.
=0)document.write(unescape('%3C')+'!-'+'-') //-->

apparently caused by Omniture, since that exact code occurs here (but really it was a stupid quotation mark not closed error) --

<!-- SiteCatalyst code version: H.13. Copyright 1997-2009 Omniture, Inc. More info available at http://www.omniture.com -->
<script type="text/javascript" language="JavaScript" src="http://www.example.com/s_code.js"></script>
<script type="text/javascript" language="JavaScript"><!--
/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
var s_code=s.t();if(s_code)document.write(s_code)//--></script>
<script language="JavaScript" type="text/javascript"><!--
if(navigator.appVersion.indexOf('MSIE')>=0)document.write(unescape('%3C')+'\!-'+'-')
//--></script><noscript><a href="http://www.omniture.com" title="Web Analytics"><img src="http://example.122.2o7.net/b/ss/ga-dev/1/H.17--NS/0"
height="1" width="1" border="0" alt="" /></a></noscript><!--/DO NOT REMOVE/-->
<!-- End SiteCatalyst code version: H.13. -->

And there was the damn error:

<p class="bulleted">Yada yada yada yada yada</p>
<p class='bulleted">Blah blah blah blah blah</p>

A single quote there instead of a double quote. That p tag wasn't considered closed until the > in the Javascript code after 'MSIE'!

Also, please note that we would never, ever make such a ridiculous class on a paragraph tag instead of simply making a bulleted list with <li> tags. This was inherited content.

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Syntax highlight code surrounded by the {syntaxhighlighter SPEC}...{/syntaxhighlighter} tags, where SPEC is a Syntaxhighlighter options string or "class="OPTIONS" title="the title".
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.