(token)
| 24 | } |
| 25 | |
| 26 | function tokenText(token) { |
| 27 | if (token.type == "text" || token.type == "code_inline") return token.content |
| 28 | else if (token.type == "softbreak") return " " |
| 29 | else return "" |
| 30 | } |
| 31 | |
| 32 | function smartQuotes(tokens, i, tex, moveQuotes) { |
| 33 | let text = tokens[i].content, from = 0 |