|
@@ -4,6 +4,23 @@
|
|
|
* https://github.com/markedjs/marked
|
|
|
*/
|
|
|
|
|
|
+/*
|
|
|
+Wekan Changes:
|
|
|
+
|
|
|
+Disable list formatting and converting to HTML. Fixes:
|
|
|
+- Checklist + card title with starting number and point
|
|
|
+ https://github.com/wekan/wekan/issues/2696
|
|
|
+- How to begin a card title with "3. "?
|
|
|
+ https://github.com/wekan/wekan/issues/1421
|
|
|
+- GFM checklist not displayed properly in card title #2818
|
|
|
+ https://github.com/wekan/wekan/issues/2818
|
|
|
+
|
|
|
+With below using this code, search with text "Wekan":
|
|
|
+ //var cap = this.rules.block.list.exec(src);
|
|
|
+ // Wekan: do not autonumber lists:
|
|
|
+ cap = false;
|
|
|
+*/
|
|
|
+
|
|
|
/**
|
|
|
* DO NOT EDIT THIS FILE
|
|
|
* The code in this file is generated from files in ./src/
|
|
@@ -584,7 +601,9 @@
|
|
|
};
|
|
|
|
|
|
_proto.list = function list(src) {
|
|
|
- var cap = this.rules.block.list.exec(src);
|
|
|
+ //var cap = this.rules.block.list.exec(src);
|
|
|
+ // Wekan: do not autonumber lists:
|
|
|
+ cap = false;
|
|
|
|
|
|
if (cap) {
|
|
|
var raw = cap[0];
|