133 Commits (a2c1f5aadefc1ccd72d540986ec9fc032aaa7351)

Author SHA1 Message Date
Alex Kocharin 80a3adc094 Fix crash in linkify inline rule on malformed input 1 year ago
Alex Kocharin 6325878f9f Multiple refactors 3 years ago
Alex Kocharin 3fc0deb38b Put entities to separate token 3 years ago
Alex Kocharin 6b58ec4245 Add linkifier rule to inline chain for full links 3 years ago
Alex Kocharin 75037c6514 Put escape sequences into separate token 3 years ago
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 8 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 9 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 10 years ago
Vitaly Puzrin 73599e022b Fixed emphasis closing token marker, closes #69 10 years ago
Alex Kocharin 3ba6f8b6d2 Tweak scanDelims algorithm 10 years ago
Alex Kocharin b8f7b5b64e Add markup info for autolink and linkifier tokens 10 years ago
Alex Kocharin 77e8b6cad0 Add configurable url normalizers 10 years ago
Alex Kocharin 7f8d3ebe82 Update strikethrough scanDelims to match emphasis 10 years ago
Alex Kocharin f1aff8a5b9 Add StateCore.Token and StateCore.push() 10 years ago
Alex Kocharin 5a390adbbc Make Token class accessible from a State 10 years ago
Vitaly Puzrin d76475721c typo fix 10 years ago
Vitaly Puzrin 00117cb2e7 Changes to improve speed on node 0.12 & iojs 10 years ago
Vitaly Puzrin e6e573efa6 Added example of tuneable text rule, for memory 10 years ago
Vitaly Puzrin 18d80c6f0b Moved validateLink() to root class 10 years ago
Alex Kocharin bb4dcf48f4 Set token.markup whereever appropriate 10 years ago
Alex Kocharin 4aabd5592e Use a common class for tokens 10 years ago
Alex Kocharin ecd010c020 Bring emphasis up to spec 10 years ago