mirror of
https://github.com/9001/copyparty.git
synced 2025-10-04 10:19:21 +02:00
improve autoindent
This commit is contained in:
parent
12345fbacc
commit
fc4d59d2d7
2 changed files with 30 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue