--- a/autoimplementation.html Wed May 18 13:38:02 2011 -0600
+++ b/autoimplementation.html Wed May 18 13:45:07 2011 -0600
@@ -1730,12 +1730,14 @@
// Insert <wbr> so IE doesn't stretch the screen
for (var i = 0; i <= 2; i++) {
try {
- tr.childNodes[i].lastChild.firstChild.innerHTML =
- tr.childNodes[i].lastChild.firstChild.textContent
+ var text = tr.childNodes[i].lastChild.firstChild.textContent;
+ tr.childNodes[i].lastChild.removeChild(tr.childNodes[i].lastChild.firstChild);
+ tr.childNodes[i].lastChild.innerHTML = text
.replace(/&/g, "&")
.replace(/</g, "<")
.replace(/>/g, "><wbr>")
- .replace(/</g, "<wbr><");
+ .replace(/</g, "<wbr><")
+ + tr.childNodes[i].lastChild.innerHTML;
} catch (e) {};
}
}