Commit graph

350 commits

Author SHA1 Message Date
Yusuke Inuzuka
6bda32624d
Merge pull request #298 from vincentbernat/fix/svg-avif-safe
renderer: image/svg is also safe
2022-04-14 19:57:26 +09:00
yuin
6bdcc0f927 Fix #300 2022-04-14 15:10:12 +09:00
Vincent Bernat
fc877ab357 renderer: image/svg is also safe
When used in an image context, SVG cannot execute scripts, be styled
or fetch additional resources. So, they are as safe as other formats.

When used in a `<a>` tag, it could starts executing JS, but only in
its own context, so it shouldn't be dangerous either.

This raises the question on which image format is dangerous.
2022-04-03 23:34:20 +02:00
Yusuke Inuzuka
e29c1a5dfa
Merge pull request #294 from PaperPrototype/patch-1
Added goldmark-embed to Extensions
2022-03-28 20:40:00 +09:00
Yusuke Inuzuka
96e98dca10
Merge pull request #293 from zhsj/short-test
Skip performance test in short mode
2022-03-28 20:39:48 +09:00
Abdiel Lopez
84ce6bc8ba
Added goldmark-embed to Extensions
Adds support for rendering embeds from YouTube links.
2022-03-26 11:56:57 -04:00
Shengjing Zhu
f28136bf1c Skip performance test in short mode
When packaging this library for Debian, some CI servers are slow
to run performance tests.
2022-03-23 16:07:28 +08:00
yuin
6d6707526e Drop go 1.16 support 2022-03-20 18:31:47 +09:00
Yusuke Inuzuka
31179abc2d
Merge pull request #288 from jchenry/patch-1
Update README.md
2022-03-20 17:57:49 +09:00
Yusuke Inuzuka
2184cbf49b
Merge pull request #292 from jmooring/add-global-attributes
Add global HTML attributes
2022-03-20 17:57:33 +09:00
Yusuke Inuzuka
67340c7d10
Merge branch 'master' into add-global-attributes 2022-03-20 17:57:16 +09:00
Yusuke Inuzuka
5ffbecc0c5
Merge pull request #290 from jmooring/remove-obsolete-global-attributes
Remove obsolete global HTML attributes
2022-03-20 17:55:58 +09:00
Joe Mooring
8da81dfae2 Add global HTML attributes
Closes #291
2022-03-18 12:39:30 -07:00
Joe Mooring
3563ceb58e Remove obsolete global attributes
Closes #289
2022-03-18 12:01:33 -07:00
Colin Henry
f04f7f5340
Update README.md
added link to goldmark-pikchr
2022-03-16 21:16:21 -07:00
yuin
e64a68fc13 Fix #287 2022-03-12 17:18:59 +09:00
yuin
0af271269f Fix #285 2022-03-09 04:01:30 +09:00
yuin
a816d4652e Fix tests for Go1.16 2022-03-05 18:56:34 +09:00
yuin
920c3818d4 Improve raw html parsing performance 2022-03-05 18:45:57 +09:00
yuin
be2bf82af9 Fix performance problems related link labels 2022-03-05 17:37:40 +09:00
yuin
5ba3327fda Fix fuzzer 2022-02-19 18:32:12 +09:00
Yusuke Inuzuka
1def545b06
Merge pull request #280 from natemoo-re/fix/typographer
Improve Typographer Edge Cases
2022-02-19 04:53:02 +09:00
Nate Moore
7aa0ead60c remove log 2022-02-17 10:13:49 -06:00
Nate Moore
5e24a62400 add comment to clarify case 2022-02-17 10:13:18 -06:00
Nate Moore
a6c48071ed fix typographer leading apostrophe for abbreviations 2022-02-17 10:04:21 -06:00
Nate Moore
7b616a4c80 fix typographer single quote edge cases 2022-02-17 09:41:29 -06:00
Nate Moore
c3b7691431 add failing typographer tests 2022-02-16 22:27:33 -06:00
yuin
b7b0919dfe Add AddMeta 2022-02-12 19:01:55 +09:00
yuin
41b1d4542d Update benchmark 2022-02-08 19:24:52 +09:00
yuin
f6e93ffd8f Fix #274, Fix #275 2022-02-08 17:15:15 +09:00
yuin
d44b18596f Update unicode case foldings(Unicode 12.1.0 -> 14.0.0) 2021-11-24 21:33:54 +09:00
yuin
333aa4d779 Fixes #263 2021-11-14 19:49:34 +09:00
yuin
907eb99835 Fixes #262 2021-11-08 16:13:54 +09:00
yuin
0283c9c543 Improve benchmarks with WSL2 2021-10-27 18:30:14 +09:00
yuin
4477be72ee Fix #235 2021-10-24 17:49:45 +09:00
yuin
b2c88c80f6 #248 - 10 2021-10-23 20:17:35 +09:00
yuin
661ccb7c9e Drop Go 1.15 support 2021-10-21 18:27:53 +09:00
yuin
7557842636 #248 - 13 2021-10-21 18:24:30 +09:00
yuin
15ea97611d #248 - 12 2021-10-20 18:07:23 +09:00
yuin
4b793a1aed #248 - 11 2021-10-17 19:48:50 +09:00
yuin
324b2d6e6f #248 - 9 2021-10-17 19:28:38 +09:00
yuin
829dc0ae24 #248 - 8 2021-10-17 19:21:23 +09:00
yuin
e77ca9231a #248 - 8 2021-10-17 17:46:05 +09:00
yuin
05d89a0b45 #248 - 7 2021-10-17 17:29:01 +09:00
yuin
beafde4b8f #248 - 6 2021-10-16 20:12:16 +09:00
yuin
cbaee30aee #248 - 5 2021-10-16 19:55:09 +09:00
yuin
20a276ea45 #248 - 4 2021-10-16 19:39:51 +09:00
yuin
bc90544cef #248 - 3 2021-10-16 18:56:49 +09:00
yuin
f5dcbd8208 #248 - 2 2021-10-16 18:48:59 +09:00
yuin
2f8abf5949 #248 - 1 2021-10-16 17:47:30 +09:00