diff -r cb7dde69c301 -r d7fc25acd3f3 themes/oxygen/header.tpl --- a/themes/oxygen/header.tpl Wed Aug 01 13:39:27 2007 -0400 +++ b/themes/oxygen/header.tpl Sun Aug 05 15:58:50 2007 -0400 @@ -1,5 +1,5 @@ - + {PAGE_NAME} • {SITE_NAME} @@ -73,7 +73,7 @@ elem = document.getElementById('h2PageName'); if(!elem) return; elem.style.display = 'none'; - name = elem.innerHTML; + name = elem.firstChild.nodeValue; textbox = document.createElement('input'); textbox.type = 'text'; textbox.value = name; @@ -90,7 +90,8 @@ if(!elem1 || !elem2) return; value = elem2.value; elem2.parentNode.removeChild(elem2); // just destroy the thing - elem1.innerHTML = value; + elem1.removeChild(elem1.firstChild); + elem1.appendChild(document.createTextNode(value)); elem1.style.display = 'block'; if(!value || value=='') return; ajaxPost(stdAjaxPrefix+'&_mode=rename', 'newtitle='+escape(value), function() {