vendor/assets/javascripts/ace/mode-slim.js in ace-rails-ap-4.2 vs vendor/assets/javascripts/ace/mode-slim.js in ace-rails-ap-4.3

- old
+ new

@@ -2829,11 +2829,11 @@ token : "string.blockquote", regex : "^\\s*>\\s*(?:[*+-]|\\d+\\.)?\\s+", next : "blockquote" }, { // HR * - _ token : "constant", - regex : "^ {0,2}(?:(?: ?\\* ?){3,}|(?: ?\\- ?){3,}|(?: ?\\_ ?){3,})\\s*$", + regex : "^ {0,3}(?:(?:\\* ?){3,}|(?:\\- ?){3,}|(?:\\_ ?){3,})\\s*$", next: "allowBlock" }, { // list token : "markup.list", regex : "^\\s{0,3}(?:[*+-]|\\d+\\.)\\s+", next : "listblock-start" @@ -3364,9 +3364,10 @@ oop.inherits(Mode, TextMode); (function() { this.type = "text"; this.blockComment = {start: "<!--", end: "-->"}; + this.$quotes = {'"': '"', "`": "`"}; this.getNextLineIndent = function(state, line, tab) { if (state == "listblock") { var match = /^(\s*)(?:([-+*])|(\d+)\.)(\s+)/.exec(line); if (!match) \ No newline at end of file