Vitaly Puzrin
|
3d24bda404
|
Deps bump
|
5 years ago |
Alex Kocharin
|
d08c7c3897
|
Add an example related to case-insensitive comparisons
|
5 years ago |
Vitaly Puzrin
|
c36309ef1c
|
Bump eslint & update CS
|
5 years ago |
Alex Kocharin
|
7421ecce67
|
Improve normalization for reference label matching
Simple toUpperCase() does not work for various ligatures and legacy
characters that are already in a different upper case form.
See also:
278ea515fe
|
5 years ago |
Alex Kocharin
|
2959f8c27c
|
Update CommonMark spec to 0.28
|
7 years ago |
Vitaly Puzrin
|
09e9ad1688
|
Add missed h2..h6 to whitelisted block tags
|
8 years ago |
Vitaly Puzrin
|
760050edcb
|
eslint update & code cleanup
|
9 years ago |
Alex Kocharin
|
0661eea828
|
Remove scheme whitelist for autolinks
|
9 years ago |
Alf Eaton
|
0a6ecd942b
|
Change variable name to remove reserved keyword
|
9 years ago |
Vitaly Puzrin
|
255d62d391
|
Added iframe to list of block tags
|
9 years ago |
Alex Kocharin
|
b2aee1a978
|
Expand tabs only when it's needed, as per CommonMark 0.21
|
9 years ago |
Alex Kocharin
|
643d9f75a0
|
Implement new html block algorithm from 0.21
|
9 years ago |
Vitaly Puzrin
|
e9ccf97a0b
|
Commented out unused `replaceEntities()`
|
10 years ago |
Vitaly Puzrin
|
387f3f0a8e
|
Use externap package for entities data
|
10 years ago |
Alex Kocharin
|
77e8b6cad0
|
Add configurable url normalizers
- md.normalizeLink
- md.normalizeLinkText
|
10 years ago |
Alex Kocharin
|
31ce62ce80
|
Re-export uc.micro as md.utils.lib.ucmicro
|
10 years ago |
Alex Kocharin
|
e0cfc6db4c
|
Re-export uc.micro and mdurl
|
10 years ago |
Vitaly Puzrin
|
0732ac3bd6
|
Var rename & coverage improve
|
10 years ago |
Alex Kocharin
|
b8af54ba8e
|
Use unescapeAll for links unescaping
|
10 years ago |
Alex Kocharin
|
3264f17291
|
Use mdurl module instead of decodeURI+encodeURI
|
10 years ago |
Vitaly Puzrin
|
7ade5e2ec5
|
Clarified isWhiteSpace()
|
10 years ago |
Vitaly Puzrin
|
72371a85fe
|
Replaced unicode-7.0.0 with uc.micro to reduce size
|
10 years ago |
Vitaly Puzrin
|
e61f9ccec4
|
Use punctuation re from unicode-7.0.0 & compacted html re
|
10 years ago |
Vitaly Puzrin
|
e77666c4a0
|
moved normalizeReference to utils, closes #42
|
10 years ago |
Vitaly Puzrin
|
da0e9c78a5
|
Added one more try/catch wrapper to normalizer, for safety
|
10 years ago |
Vitaly Puzrin
|
47b71bae94
|
Fixed broken surrogates replacer
|
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 |
Vitaly Puzrin
|
ca7b598032
|
Allow dach in html tag names (for upcoming spec changes), related to #32
|
10 years ago |
Vitaly Puzrin
|
0fa09e9cd2
|
Fix surrogate pairs instead of processing encoder exceptions
|
10 years ago |
Vitaly Puzrin
|
cef03effe3
|
Catch exception in link normalizer on broken unicode sequence
|
10 years ago |
Vitaly Puzrin
|
e6315f3c6a
|
Fixed whitespace check helper
|
10 years ago |
Vitaly Puzrin
|
89c8620157
|
cdata regexp fix
|
10 years ago |
Vitaly Puzrin
|
63fb27ca5b
|
Added regexp escaper to utils
|
10 years ago |
Vitaly Puzrin
|
792f386840
|
Fixed inline html comments parse
|
10 years ago |
Vitaly Puzrin
|
e91ce3fa52
|
Unicode helpers for upcoming 0.15 update
|
10 years ago |
Vitaly Puzrin
|
04ee60d3c4
|
Removed unused code & improved tests coverage for some rules.
|
10 years ago |
Vitaly Puzrin
|
a5a04532df
|
Both helpers & utils are not in each instance of main parser
|
10 years ago |
Vitaly Puzrin
|
4a34e7b742
|
Moved array element subst to utils
|
10 years ago |
Vitaly Puzrin
|
761947f2fb
|
More safe properties check
|
10 years ago |
Vitaly Puzrin
|
9c436cebc1
|
Moved html escape helper to utils
|
10 years ago |
Vitaly Puzrin
|
26a22b182a
|
Fixed replaceEntities, default preset, improved coverage
|
10 years ago |
Vitaly Puzrin
|
0de39dc5b7
|
Coverage improve
|
10 years ago |
Vitaly Puzrin
|
0cf8b0f362
|
StateBlock() cleanup
|
10 years ago |
Vitaly Puzrin
|
8f909bcf33
|
Moved HTML escaping to renderer
|
10 years ago |
Vitaly Puzrin
|
bc7b8e2f89
|
Perf: regex opts
|
10 years ago |
Vitaly Puzrin
|
e259c99183
|
Fixed error in prev commit
|
10 years ago |
Vitaly Puzrin
|
c45c345c6b
|
Perf: optimized html escape helper
|
10 years ago |
Vitaly Puzrin
|
d937eec5f3
|
Renamed stmd -> commonmark
|
10 years ago |
Vitaly Puzrin
|
9b87c99abc
|
Reorganized parser configuration
|
10 years ago |