this repo has no description

fix table cells not setting prev, and weird \. behavior

12Me21 bc0ce598 cc98194e

+4 -3
+4 -3
parse.js
··· 172 172 let o = pop() 173 173 let type = o.type 174 174 175 - if ('newline'===o.prev) 176 - o.content.push("\n") 175 + //if ('newline'===o.prev) 176 + // o.content.push("\n") 177 177 178 178 switch (type) { default: { 179 179 push(current, type, o.args, o.content) ··· 195 195 // push cell if not empty 196 196 if (!cancel || o.content.length) { 197 197 push(current, type, process_cell_args(o.args), o.content) 198 + current.prev = 'block' 198 199 } 199 200 // cancelled = next row 200 201 if (cancel) { ··· 551 552 else if ("\\."===token) { // \. is a no-op 552 553 // todo: close lists too 553 554 //current.content.push("") 554 - current.prev = 'block' 555 + //current.prev = 'block' 555 556 } else 556 557 TEXT(token.substring(1)) 557 558 } break; case 'QUOTE': {