Team:Warsaw/JSTest
From 2008.igem.org
(Difference between revisions)
Line 99: | Line 99: | ||
function trimContents(ans, title) | function trimContents(ans, title) | ||
{ | { | ||
+ | ans=ans.replace(/<h3><\/h3>/ig,""); | ||
h3=new RegExp(/<h3.*>(.*)<\/h3>/ig); | h3=new RegExp(/<h3.*>(.*)<\/h3>/ig); | ||
title=removeHTMLTags(trimStr(title)); | title=removeHTMLTags(trimStr(title)); |
Revision as of 17:37, 26 October 2008
|