Vitaly Puzrin
|
e9ccf97a0b
|
Commented out unused `replaceEntities()`
|
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
|
c2312d971f
|
Fixed punctuation check in emphasis
|
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
|
63fb27ca5b
|
Added regexp escaper to utils
|
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
|
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
|
9b87c99abc
|
Reorganized parser configuration
|
10 years ago |
Vitaly Puzrin
|
3cd192537d
|
Updated codepoints check
|
10 years ago |
Vitaly Puzrin
|
0e3e1171e6
|
Moved string helpers to utilities
|
10 years ago |
Vitaly Puzrin
|
61f21ac848
|
Replaced `assign` helper
|
10 years ago |