Tienson Qin пре 4 година
родитељ
комит
92c284e67d
2 измењених фајлова са 2 додато и 3 уклоњено
  1. 1 1
      package.json
  2. 1 2
      src/main/frontend/format/block.cljs

+ 1 - 1
package.json

@@ -68,7 +68,7 @@
         "gulp-cached": "^1.1.1",
         "ignore": "^5.1.8",
         "jszip": "^3.5.0",
-        "mldoc": "^0.4.1",
+        "mldoc": "^0.4.8",
         "mousetrap": "^1.6.5",
         "path": "^0.12.7",
         "react": "^17.0.1",

+ 1 - 2
src/main/frontend/format/block.cljs

@@ -519,5 +519,4 @@
 
 (defn trim-break-lines!
   [ast]
-  (->> (drop-while break-line-paragraph? ast)
-       (take-while (complement break-line-paragraph?))))
+  (->> (drop-while break-line-paragraph? ast)))