Lines Matching refs:PRE
34 * 3) mark the <pre> and <code> tags in your source with class=prettyprint.
76 /** find all the < pre > and < code > tags in the DOM with class=prettyprint
347 // an html description of well formed XML and the containing tag is a PRE
350 var testNode = document.createElement('PRE');
987 // into pre blocks for some strange reason.
989 // of <pre> tags when their innerHTML is assigned.
1156 document.getElementsByTagName('pre'),
1180 // <pre class="prettyprint lang-cpp">
1189 if ((p.tagName === 'pre' || p.tagName === 'code' ||
1210 // we need to change the tag to a <pre> since <xmp>s do not allow
1213 var pre = document.createElement('PRE');
1219 pre.className = a.value; // For IE 6
1221 pre.setAttribute(a.name, a.value);
1225 pre.innerHTML = newContent;
1228 cs.parentNode.replaceChild(pre, cs);
1229 cs = pre;
1237 if (isIE6 && cs.tagName === 'PRE') {