in xooki.js [801:816]
code: function (input) {
codeSection = xooki.string.findXmlSection(input, "code");
from = 0;
while (codeSection != null) {
processedSection = "<pre>"
+ input.substring(codeSection.innerStart, codeSection.innerEnd).replace(/</g, "<").replace(/>/g, ">") // .replace(/\n/g, "<br/>")
+ "</pre>";
input = input.substring(0, codeSection.outerStart)
+ processedSection
+ input.substring(codeSection.outerEnd);
from = codeSection.outerStart + processedSection.length;
codeSection = xooki.string.findXmlSection(input, "code", from);
}
return input;
},