public/javascripts/yui/datatable/datatable.js
function(el, oRecord, oColumn, oData) {
        var value = (lang.isValue(oData)) ? oData : "";
        //TODO: move to util function
        el.innerHTML = value.toString().replace(/&/g, "&#38;").replace(/</g, "&#60;").replace(/>/g, "&#62;");
    }
function(el, oRecord, oColumn, oData) {
        var value = (lang.isValue(oData)) ? oData : "";
        //TODO: move to util function
        el.innerHTML = value.toString().replace(/&/g, "&#38;").replace(/</g, "&#60;").replace(/>/g, "&#62;");
    }
function ( el , oRecord , oColumn , oData ) { var value = ( lang . isValue ( oData ) ) ? oData : "" ; //TODO: move to util function el . innerHTML = value . toString ( ) . replace ( / & / g , "&#38;" ) . replace ( / < / g , "&#60;" ) . replace ( / > / g , "&#62;" ) ; }
Formats text strings.

@method DataTable.formatText
@param el {HTMLElement} The element to format with markup.
@param oRecord {YAHOO.widget.Record} Record instance.
@param oColumn {YAHOO.widget.Column} Column instance.
@param oData {Object} (Optional) Data value for the cell.
@static
Formats text strings .