Граф коммитов

115 Коммитов

Автор SHA1 Сообщение Дата
Phill MV fdd7851bbc Added Actions CI badge. 2021-08-23 14:35:47 -04:00
Phill MV 4bab14a5e2 Removed outdated build status badges. 2021-08-12 09:21:08 -04:00
apnadkarni aed182ed08 Add link to Tcl bindings. (#171) 2019-07-17 11:01:48 +10:00
Ashe Connor f26f75ce5d
Merge branch 'upstream-master' 2019-04-08 16:12:53 +10:00
John MacFarlane 325a1471d2 Make rendering safe by default.
Removes CMARK_OPT_SAFE from options.

Adds CMARK_OPT_UNSAFE, with the opposite meaning.
The new default behavior is to suppress raw HTML and
potentially dangerous links.  The CMARK_OPT_UNSAFE
option has to be set explicitly to prevent this.

--------------------------------------------------------
NOTE: This change will require modifications in
bindings for cmark and in most libraries and programs
that use cmark.
--------------------------------------------------------

Closes #239, #273.

Borrows heavily from @kivikakk's patch in github/cmark-gfm#123.
2019-03-17 22:43:38 -07:00
Ashe Connor 02b19e0f4a
fix misplaced parenthesis 2018-11-27 16:09:06 +11:00
Ashe Connor f64691b85d
Default to safe operation (#123)
* default to safe

* fix setter test
2018-10-17 14:42:51 +11:00
Ashe Connor a9ed0e24e5
fix image target 2018-10-16 10:36:10 +11:00
Ashe Connor 6e73dea2d8
update travis-ci link 2018-10-16 10:34:12 +11:00
John MacFarlane a9f67da092 Fix appveyor links.
Closes #251.
2018-08-27 14:23:28 -07:00
Ashe Connor e1fa45742c
Merge remote-tracking branch 'upstream/master' 2018-01-08 09:02:30 +11:00
John MacFarlane a5c83d7a42 README - use commonmark/cmark for appveyor badge. 2017-11-18 11:21:23 -08:00
John MacFarlane db63ea9a07 Updated travis badges and issue tracker jgm -> commonmark.
Thanks @mohitsinghs
2017-11-16 09:31:28 -08:00
killa123 9188bdfadb add node.js wrapper (#46) 2017-11-09 14:21:41 +11:00
Ashe Connor c939f0ed5a
Merge remote-tracking branch 'upstream/master' 2017-08-25 15:05:08 +10:00
Nguyễn Thái Ngọc Duy 350d145c84 Update README.md, replace 'make astyle' with 'make format'
The former has been replaced by the latter since 62cb38b (Use
clang-format, llvm style, for formatting. - 2015-07-27)

dòng được
2017-08-03 18:52:47 +07:00
Yuki Izumi eaf3b8fdba
README updates 2017-06-30 12:04:01 +10:00
Phil Turnbull c1dea4ee50 Add Makefile target and harness to fuzz with libFuzzer
This can be run locally with `make libFuzzer` but the harness will be
integrated into oss-fuzz for large-scale fuzzing.
2017-06-27 15:37:04 -04:00
Pavlo Kapyshin 1fff711c3d Add link to Python wrapper 2017-05-16 18:28:03 +03:00
Pavlo Kapyshin 3c11019281 Prettify languages list 2017-05-16 18:22:49 +03:00
Tim Nieradzik f5c9422177 README: Add link to cmark-scala (#196) 2017-05-15 19:30:05 +02:00
John MacFarlane 5255e2d571 Added 'make newbench'. 2016-12-06 10:56:59 +01:00
Pavlo Kapyshin 43e8f05a53 Fix typo 2016-08-09 15:23:41 +03:00
TsT b0def0a292 link fix 2016-07-13 18:34:41 +02:00
John MacFarlane 8d599b758b Fixed typo in re2c version number.
See #102.
2016-02-06 13:57:48 -08:00
John MacFarlane d655b825e3 Require re2c >= 1.14.2.
Version <= 1.13.7 don't allow the `-8` option.

Closes #102.
2016-02-06 13:54:34 -08:00
John MacFarlane c6649f5849 Removed out-of-date lua wrapper. 2015-12-28 00:28:07 -08:00
John MacFarlane fc2b1494e0 Removed unused ref link defn from README. 2015-07-14 17:03:17 -07:00
John MacFarlane ac39623d66 Added `CMARK_OPT_SAFE` option and `--safe` command-line flag.
* Added `CMARK_OPT_SAFE`.  This option disables rendering of raw HTML
  and potentially dangerous links.
* Added `--safe` option in command-line program.
* Updated `cmark.3` man page.
* Added `scan_dangerous_url` to scanners.
* In HTML, suppress rendering of raw HTML and potentially dangerous
  links if `CMARK_OPT_SAFE`.  Dangerous URLs are those that begin
  with `javascript:`, `vbscript:`, `file:`, or `data:` (except for
  `image/png`, `image/gif`, `image/jpeg`, or `image/webp` mime types).
* Added `api_test` for `OPT_CMARK_SAFE`.
* Rewrote `README.md` on security.
2015-07-13 10:15:55 -07:00
John MacFarlane afc1b89ac7 Added LaTeX renderer.
* New exported function in API: `cmark_render_latex`.
* Added src/latex.hs.
* Updated README and man page.
* Closes #31.
2015-07-05 16:11:36 -07:00
John MacFarlane cc2effd9ac README: added 'make afl' instructions. 2015-06-17 09:20:45 -07:00
John MacFarlane 1632a5a121 Small changes to README and benchmark files. 2015-06-17 09:13:50 -07:00
John MacFarlane 3adc586d9d Added benchmark for hoedown.
Note that hoedown doesn't show the 32/64 bit difference that
sundown does -- so it was probably a bug in sundown.  Removed
the comments from benchmarks.md about this.
2015-06-07 12:41:47 -07:00
Jeroen Ooms 30936f2fcf Add link to R bindings 2015-05-28 17:21:52 +02:00
John MacFarlane 5ba5740f7e Added link to CommonMarker, ruby wrapper, in docs. 2015-05-13 10:21:03 -07:00
John MacFarlane 6d27ebf98e README: add links to go, perl, haskell wrapper libraries. 2015-05-06 14:49:37 -07:00
John MacFarlane 36ab6fcfb4 Added build status badges to README.md. 2015-05-06 14:09:11 -07:00
John MacFarlane f8c18d68e9 Added "Standardized" bullet to README. 2015-04-16 13:57:29 -07:00
John MacFarlane 5fcf8acaf5 Improved README. 2015-04-16 12:55:05 -07:00
John MacFarlane 0bf07dda1c Update README on output formats. 2015-03-21 17:36:02 -07:00
John MacFarlane 3a5ed08c6a Use try.commonmark.org for dingus address. 2015-02-04 10:33:02 -08:00
John MacFarlane 13b81edc2f Fixed license in README.md. 2015-01-25 11:28:55 -08:00
John MacFarlane b2c57d51f0 Fixed link to spec. 2015-01-25 11:28:32 -08:00
John MacFarlane bc52bc756a Improved README with note on wrappers. 2015-01-24 21:47:46 -08:00
John MacFarlane 63a4d269c5 Added reference to benchmarks in README. 2015-01-24 21:33:22 -08:00
John MacFarlane c8453ff31f Removed non-C related parts of README.md. 2015-01-24 21:28:29 -08:00
John MacFarlane 5ef31853d5 Added note on documentation in man pages. 2015-01-24 20:56:43 -08:00
John MacFarlane e1c590d3de Merge pull request #297 from nwellnhof/makefile_fixes
Makefile fixes
2015-01-24 12:01:33 -08:00
John MacFarlane d6c615f268 Removed JS implementation, which is moving to its own repo:
<https://github.com/jgm/commonmark.js>
2015-01-24 11:07:01 -08:00
Nick Wellnhofer 10fc979567 Pass INSTALL_PREFIX to cmake
This allows to install to a location other than /usr/local without
invoking cmake manually.
2015-01-24 16:42:54 +01:00