example/public/ueditor/third-party/SyntaxHighlighter/shCore.js
function fixInputString(str)
    {
        var br = /<br\s*\/?>|&lt;br\s*\/?&gt;/gi;

        if (sh.config.bloggerMode == true)
            str = str.replace(br, '\n');

        if (sh.config.stripBrs == true)
            str = str.replace(br, '');

        return str;
    }
function fixInputString(str)
    {
        var br = /<br\s*\/?>|&lt;br\s*\/?&gt;/gi;

        if (sh.config.bloggerMode == true)
            str = str.replace(br, '\n');

        if (sh.config.stripBrs == true)
            str = str.replace(br, '');

        return str;
    }
function fixInputString ( str ) { var br = / <br\s*\/?>|&lt;br\s*\/?&gt; / gi ; if ( sh . config . bloggerMode == true ) str = str . replace ( br , '\n' ) ; if ( sh . config . stripBrs == true ) str = str . replace ( br , '' ) ; return str ; }
Performs various string fixes based on configuration.
Performs various string fixes based on configuration .