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 |
Katie Liu
|
6bce142987
|
updated outdated link in comment of lib/common/html_blocks.js (#972)
|
1 year ago |
Matt Cowley
|
8470eb6706
|
chore: Update entities dependency (#901)
* Update entities package + usage
* Apply custom digital entity logic before entities decode
|
1 year ago |
Alex Kocharin
|
6325878f9f
|
Multiple refactors
removed unused and duplicated variables
|
3 years ago |
Alex Kocharin
|
ddbb195546
|
Remove meta from list of block html tags
ref https://github.com/commonmark/commonmark-spec/issues/527
|
4 years ago |
Alex Kocharin
|
8ad16ac4d9
|
Allow EOL in processing instructions
same fix as in https://github.com/commonmark/commonmark.js/issues/196
|
4 years ago |
Vitaly Puzrin
|
3d24bda404
|
Deps bump
|
5 years ago |
Alex Kocharin
|
d08c7c3897
|
Add an example related to case-insensitive comparisons
|
6 years ago |
Vitaly Puzrin
|
c36309ef1c
|
Bump eslint & update CS
|
6 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
|
6 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
|
10 years ago |
Alex Kocharin
|
643d9f75a0
|
Implement new html block algorithm from 0.21
|
10 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 |