128 Commits (750a954d586c526e92bc4305bde2552743304d13)

Author SHA1 Message Date
Vitaly Puzrin ffc49ab46b Fix possible ReDOS in newline rule. 3 years ago
Alex Kocharin 24abaa51a6 Improve emphasis algorithm 3 years ago
Alex Kocharin eed156e9cd Fix emphasis algorithm as per 0.30 spec 3 years ago
Alex Kocharin c9dd942246 Fix crash when processing strikethrough 4 years ago
Alex Kocharin e729b90a1d Fix quadratic complexity in autolinks 4 years ago
Alex Kocharin 8cd6fc34c4 Fix quadratic compexity on backticks 4 years ago
Alex Kocharin 83b05755db Fix quadratic time on emphasis 4 years ago
Alex Kocharin 537ab89d7c Don't try to parse link title if link wasn't found 4 years ago
Alex Kocharin fece91e265 Fix backtick algorithm 4 years ago
Alex Kocharin 1e8aff0084 Fix quadratic time on backticks 4 years ago
ocavue b979ca01d5 fix: remove unused comparison code 4 years ago
Alex Kocharin 07a62c6c75 Move nested delimiter info to opening token instead of inline state 5 years ago
Alex Kocharin a1c93811f8 Fix incorrect level recalculation in text_collapse 5 years ago
Vitaly Puzrin c36309ef1c Bump eslint & update CS 5 years ago
Alex Kocharin e519e6ac19 Fix emphasis matching where delimiters are multiple of 3 5 years ago
Alex Kocharin 02a2605e84 Reduce maximum length for numeric html entities 5 years ago
Alex Kocharin 7997fdadcd Apply special rules for collapsing whitespace inside code blocks 5 years ago
Alex Kocharin 2959f8c27c Update CommonMark spec to 0.28 7 years ago
Rifat Nabi 696231b28d Fix a small typo 7 years ago
Alex Kocharin dc1c392a4d Remove tabs at the beginning of the line in paragraphs 7 years ago
Igor Bochkariov ebc9f50759 fallback to reference if a link is not valid 8 years ago
Alex Kocharin f5a06ec0b6 Make link/image/reference helpers overridable 8 years ago
Alex Kocharin f07d3862ff Implement odd matching rules for emphasis 8 years ago
Vitaly Puzrin 760050edcb eslint update & code cleanup 8 years ago
Alex Kocharin 0661eea828 Remove scheme whitelist for autolinks 9 years ago
Alex Kocharin 1482c3e64f Disallow spaces inside links 9 years ago
Alex Kocharin f2344b5cbc Add `content` property to image token 9 years ago
Alex Kocharin b2883a7fd2 Fix meta information for autolink tokens 9 years ago
Alex Kocharin 378ac9074e Change emphasis parsing algorithm 9 years ago
Alex Kocharin b2aee1a978 Expand tabs only when it's needed, as per CommonMark 0.21 9 years ago
Alex Kocharin 25fea504f6 Update emphasis to match CommonMark 0.19 9 years ago
Vitaly Puzrin 73599e022b Fixed emphasis closing token marker, closes #69 9 years ago
Alex Kocharin 3ba6f8b6d2 Tweak scanDelims algorithm 9 years ago
Alex Kocharin b8f7b5b64e Add markup info for autolink and linkifier tokens 9 years ago
Alex Kocharin 77e8b6cad0 Add configurable url normalizers 9 years ago
Alex Kocharin 7f8d3ebe82 Update strikethrough scanDelims to match emphasis 9 years ago
Alex Kocharin f1aff8a5b9 Add StateCore.Token and StateCore.push() 9 years ago
Alex Kocharin 5a390adbbc Make Token class accessible from a State 9 years ago
Vitaly Puzrin d76475721c typo fix 9 years ago
Vitaly Puzrin 00117cb2e7 Changes to improve speed on node 0.12 & iojs 9 years ago
Vitaly Puzrin e6e573efa6 Added example of tuneable text rule, for memory 9 years ago
Vitaly Puzrin 18d80c6f0b Moved validateLink() to root class 9 years ago
Alex Kocharin bb4dcf48f4 Set token.markup whereever appropriate 9 years ago
Alex Kocharin 4aabd5592e Use a common class for tokens 9 years ago
Alex Kocharin ecd010c020 Bring emphasis up to spec 9 years ago
Vitaly Puzrin e77666c4a0 moved normalizeReference to utils, closes #42 10 years ago
Alex Kocharin 4ce003cb82 Remove stateInline.labelUnmatchedScopes 10 years ago
Vitaly Puzrin e1f6e3b6f8 Use new emphasis logic in strikethrough 10 years ago
Vitaly Puzrin 6ab7cc30a4 Use the same regexp for comments as reference parser 10 years ago
Vitaly Puzrin c2312d971f Fixed punctuation check in emphasis 10 years ago