1071 Commits

Author SHA1 Message Date
Tony Brix
f31d3fa43f change .text to .md 2018-01-02 11:59:52 -06:00
Tony Brix
950e65ec51 add fixed tests to /new 2018-01-02 11:12:30 -06:00
Костя Третяк
13e97eb56b
Fix auto_links secure
Related to https://github.com/chjj/marked/pull/814
2018-01-02 19:05:01 +02:00
Federico Soave
1ec0bf387f print more descriptive error messages when source is undefined (as in #979) 2018-01-02 15:10:01 +01:00
smhg
d978de4f50 support older regex engines 2018-01-01 14:52:55 +01:00
Kara Leary
115b65e082
declare undeclared variables
fix for https://github.com/chjj/marked/issues/990
2017-12-27 12:11:37 -10:00
Josh Bruce
18deb8b071
Merge pull request #987 from gromnitsky/master
add a test case for links defs & paragraphs
2017-12-27 09:56:55 -05:00
Josh Bruce
3fe746449b
Merge pull request #768 from mdentremont/remove-global
Remove "preferGlobal" from "package.json" file
2017-12-27 09:56:05 -05:00
Alexander Gromnitsky
e0388905c9 add a test case for links defs & paragraphs 2017-12-26 06:09:23 +02:00
Josh Bruce
53d99bbd28
Merge pull request #412 from cirosantilli/benchmarks-are-below
Typo benchmarks are below reference in README.
2017-12-25 20:07:35 -05:00
Josh Bruce
18c278ece7
Merge pull request #986 from styfle/patch-1
Update copyright to 2018 in README
2017-12-25 18:12:32 -05:00
Steven
97c82b7efa
Update copyright to 2018 in README
Because the new year is upon us
2017-12-25 17:53:35 -05:00
Josh Bruce
01718d8c54
Merge pull request #742 from wski/patch-1
small typo
2017-12-25 17:20:01 -05:00
Josh Bruce
abdb4ce5fb
Merge pull request #622 from KhanMaytok/master
Update year in README
2017-12-25 17:12:06 -05:00
Josh Bruce
e10429e6b9
Merge pull request #629 from vincentwoo/patch-1
Fix small typo occur[r]ed
2017-12-25 17:08:42 -05:00
Josh Bruce
7c5def0fcd
Merge pull request #470 from erictheise/patch-1
fix "typographic" typo in README.md
2017-12-25 17:01:33 -05:00
Josh Bruce
5ff21cfad8
Merge pull request #478 from PeterDaveHello/patch-1
Use svg instead of png to get better image quality
2017-12-25 17:00:02 -05:00
Josh Bruce
3d9aa62051
Merge pull request #481 from hubgit/patch-1
Use the correct default value for "sanitize" in the README example code
2017-12-25 16:59:13 -05:00
Josh Bruce
1e8f298e85
Merge pull request #344 from jasonkarns/patch-1
typo in readme
2017-12-25 16:50:17 -05:00
Josh Bruce
3a4f7a5dae
Merge pull request #976 from UziTech/v0.3.9
V0.3.9
0.3.9
2017-12-23 12:55:50 -05:00
Tony Brix
43fc870c4e minify 2017-12-22 23:14:10 -06:00
Tony Brix
cb72584c5d escape non-mangled xss
fixes #926
2017-12-22 23:13:53 -06:00
Tony Brix
6d1901ff71 sanatize uppercase hexidecimal
fixes #925
2017-12-22 22:59:23 -06:00
Tony Brix
76530ed394 minify 2017-12-22 11:05:49 -06:00
Tony Brix
cf8ed1d1e0 allow test flags to be more than true or false 2017-12-22 11:05:30 -06:00
Tony Brix
858464b1a3 Merge branch 'pr/974' into pr/958 2017-12-22 10:46:48 -06:00
Костя Третяк
a477d1d0e2
Overwritten the test for a more precise wording. 2017-12-18 23:44:19 +02:00
Костя Третяк
98ac7a4395
Fixed https://github.com/chjj/marked/issues/465 2017-12-18 23:42:06 +02:00
Josh Bruce
900e50e22a
Merge pull request #972 from tbroadley/fix-typos
Fix typos
2017-12-14 23:01:01 -05:00
Thomas Broadley
8a048b0c22 Fix typos 2017-12-14 20:35:04 -05:00
Josh Bruce
39fbc8aedb
Merge pull request #961 from chjj/release-0.3.7
Release 0.3.7
v0.3.7
2017-12-01 13:08:23 -05:00
Josh Bruce
2a920832e9 Release 0.3.7 2017-12-01 12:58:35 -05:00
Josh Bruce
753a7bd04a 0.3.7 2017-12-01 12:54:48 -05:00
Josh Bruce
635e45cc68
Merge pull request #960 from chjj/github-templates
Add issue template
2017-12-01 12:38:33 -05:00
Josh Bruce
d24427ef3b Add issue template 2017-12-01 12:38:11 -05:00
Josh Bruce
90376c0bcc 0.3.9 2017-12-01 11:23:34 -05:00
Josh Bruce
2f1ba440b5 0.3.8 2017-12-01 11:23:31 -05:00
Josh Bruce
02437f68c5 0.3.7 2017-12-01 11:23:27 -05:00
Josh Bruce
e5b2998326 Initial commit 2017-12-01 11:17:22 -05:00
Richard Gibson
82de6baed0 Document the xhtml option 2017-10-06 20:40:21 -04:00
Jeremy Blalock
c51038abc5 Updates tests 2017-02-10 10:23:46 -08:00
Jeremy Blalock
f06d62d4d6 Makes link text show up even if link is dangerous 2017-02-08 11:00:20 -08:00
Matt Austin
8f9d0b72f5 Merge pull request #844 from chjj/data_link_fix
added data link fix to prevent xss
2017-01-20 09:47:29 -08:00
Matt Austin
cd2f6f5b70 added data: link fix to prevent xss 2017-01-19 15:03:37 -08:00
Matt Austin
38f1727ffe Merge pull request #728 from nehero/patch-1
Update readme example to reflect defaults
2016-09-08 10:10:39 -07:00
Christopher Jeffrey
eddec20467
v0.3.6 v0.3.6 2016-07-29 20:09:38 -07:00
Matt Austin
fd0d1a2935 Merge pull request #592 from matt-/xss_html_entities
XSS with HTML entities
2016-07-29 12:07:57 -07:00
Matt Austin
0fa05b6f66 Merge pull request #1 from rsp/fix/xss_html_entities_semicolon
Optional semicolon in html entities regex
2016-07-15 13:19:46 -04:00
Rafał Pocztarski
31c77995d5 add optional semicolon in html entities regex
and make non-capturing group out of (\w+) that was not used in the function
(only the entire surrounding group is used as a whole)
The semicolon is outside of the capturing group so the input to the
function is the same as before.
See this comment:
https://github.com/chjj/marked/pull/592/files/2cff859#r70888592
2016-07-15 13:08:12 +02:00
Matt d'Entremont
e8525b2ff4 Update README to account for npm run-script usage 2016-07-08 16:04:04 -03:00