function fixOperaBug(string) {
        if ($.browser.opera) {
          return string.length - string.replace(/\n*/g, '').length;
        }
        return 0;