Anonymous user
Rosetta Code:Per-Code Example Buttonbar: Difference between revisions
Rosetta Code:Per-Code Example Buttonbar (view source)
Revision as of 12:07, 13 July 2010
, 13 years agoFixed bug where line break tags further down in the document tree were not converted to line breaks for use with Codepad
(Adding new page) |
(Fixed bug where line break tags further down in the document tree were not converted to line breaks for use with Codepad) |
||
Line 129:
return outText;
} break;
{
//no tag name
//probably just text
outText += (preEl.childNodes[c].textContent ? preEl.childNodes[c].textContent : (preEl.childNodes[c].innerText ? preEl.childNodes[c].innerText : preEl.childNodes[c].data));
} break;
default:
{
outText += ButtonBarGetText(preEl.childNodes[c]);
}
}
|