<br />
<a href="http://google.com/translate">Google Translate</a> and <a href="http://jquery.com">
jQuery</a><br />
- <input type="checkbox" id="accessibility" checked="checked">All subtitles (accessibility)</input>
+ <input type="checkbox" id="accessibility" checked="checked" />All subtitles (accessibility)
</div>
</div>
</p>
</div>
<div class="footer_drumbeat">
- <img src="images/footer_drumbeat.png" alt="footer_drumbeat" width="" height="" /><p>Innovation on the open web, </br> powered by everybody.</p>
+ <img src="images/footer_drumbeat.png" alt="footer_drumbeat" width="" height="" /><p>Innovation on the open web, <br /> powered by everybody.</p>
</div>
<div class="copyright">Portions of this content are ©2010 by individual drumbeat.org contributors. Content available under a Creative Commons license.</div>
</footer>
link.appendChild(p);
// get the first 140 characters of the wiki content
var desc = document.createElement('p');
- var text = data.parse.text.*.substr(data.parse.text.*.indexOf('<p>'));
+ var text = data.parse.text["*"].substr(data.parse.text["*"].indexOf('<p>'));
text = text.replace(/((<(.|\n)+?>)|(\((.*?)\) )|(\[(.*?)\]))/g, "");
desc.innerHTML = text.substr(0, ( length || 140 )) + " ...";
target.appendChild(link);