142 Commits (5578e698af74c061c2548ea6251f6719b0a31ac7)

Author SHA1 Message Date
Vitaly Puzrin efc714f702 standard: more tweaks & simplify eslint config 1 year ago
Vitaly Puzrin 94177fca70 standard: spaces in comments 1 year ago
Vitaly Puzrin 9e7378775f standard: init vars in separate declaration 1 year ago
Vitaly Puzrin 7dfcf69b71 standard: no spaces near array brackets 1 year ago
Vitaly Puzrin 0eb4cb96a4 standard: space before function params 1 year ago
Vitaly Puzrin d0219010ad standard: remove semi 1 year ago
Vitaly Puzrin 88b8669c46 var => const, let 1 year ago
Vitaly Puzrin e92e776411 Rewrite core to es6 modules 1 year ago
Matt Cowley 8470eb6706
chore: Update entities dependency (#901) 1 year ago
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 4 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 6 years ago
Vitaly Puzrin c36309ef1c Bump eslint & update CS 6 years ago
Alex Kocharin e519e6ac19 Fix emphasis matching where delimiters are multiple of 3 6 years ago
Alex Kocharin 02a2605e84 Reduce maximum length for numeric html entities 6 years ago
Alex Kocharin 7997fdadcd Apply special rules for collapsing whitespace inside code blocks 6 years ago
Alex Kocharin 2959f8c27c Update CommonMark spec to 0.28 7 years ago
Rifat Nabi 696231b28d Fix a small typo 8 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 10 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