mirror of
https://github.com/9001/copyparty.git
synced 2026-11-26 12:01:09 +00:00
improve autoindent
This commit is contained in:
1 parent
12345fbacc
commit
fc4d59d2d7
2 files changed
+30
-3
No files matched your search
@@ -180,7 +180,7 @@ diff --git a/src/Parser.js b/src/Parser.js
|
||||
+ // similar to tables, writing contents before the <ul> tag
|
||||
+ // so update the tag attribute as we go
|
||||
+ // (assuming all list entries got tagged with a source-line, probably safe w)
|
||||
+ body += this.renderer.tag_ln(item.tokens[0].ln).listitem(itemBody, task, checked);
|
||||
+ body += this.renderer.tag_ln((item.tokens[0] || token).ln).listitem(itemBody, task, checked);
|
||||
}
|
||||
|
||||
- out += this.renderer.list(body, ordered, start);
|
||||
|
||||
Reference in new issue
Block a user