dist/CommentCoreLibrary.js
function (text) {
        if (text.charAt(0) === '[') {
            switch (text.charAt(text.length - 1)) {
                case ']':
                    return text;
                case '"':
                    return text + ']';
                case ',':
                    return text.substring(0, text.length - 1) + '"]';
                default:
                    return _formatmode7(text.substring(0, text.length - 1));
            }
        } else {
            return text;
        }
    }
function (text) {
        if (text.charAt(0) === '[') {
            switch (text.charAt(text.length - 1)) {
                case ']':
                    return text;
                case '"':
                    return text + ']';
                case ',':
                    return text.substring(0, text.length - 1) + '"]';
                default:
                    return _formatmode7(text.substring(0, text.length - 1));
            }
        } else {
            return text;
        }
    }
function ( text ) { if ( text . charAt ( 0 ) === '[' ) { switch ( text . charAt ( text . length - 1 ) ) { case ']' : return text ; case '"' : return text + ']' ; case ',' : return text . substring ( 0 , text . length - 1 ) + '"]' ; default : return _formatmode7 ( text . substring ( 0 , text . length - 1 ) ) ; } } else { return text ; } }
Fix Mode7 comments when they are bad
Fix Mode7 comments when they are bad