Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-03-19 | Update spec. Fix `[link](<foo\>)`. | John MacFarlane | |
2019-03-19 | Define CMARK_OPT_SAFE for API compatibility. | John MacFarlane | |
It doesn't do anything; this is documented. | |||
2019-03-18 | Remove deprecated call to add_compiler_export_flags() | Jonathan Müller | |
It is deprecated in CMake 3.0, the replacement is to set the CXX_VISIBILITY_PRESET (or in our case C_VISIBILITY_PRESET) and VISIBILITY_INLINES_HIDDEN properties of the target. We're already setting them by setting the CMake variables anyway, so the call can be removed. | |||
2019-03-18 | Bump CMake to version 3 | Jonathan Müller | |
2019-03-17 | Make rendering safe by default. | John MacFarlane | |
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 | Merge pull request #254 from github/empty-input | John MacFarlane | |
Check for empty buffer when rendering | |||
2019-03-17 | Avoid gcc warning for uninitialized variable. | John MacFarlane | |
2019-03-17 | Use hand-rolled scanner for thematic break. | John MacFarlane | |
Keep track of the last position where a thematic break failed to match on a line, to avoid rescanning unnecessarily. See commonmark/cmark#284. | |||
2019-03-17 | Do cheaper test first. | John MacFarlane | |
2019-03-17 | Rename ends_with_blank_line with S_ prefix. | John MacFarlane | |
As with other static functions. | |||
2019-03-17 | Add CMARK_NODE__LAST_LINE_CHECKED flag. | John MacFarlane | |
Use this to avoid unnecessary recursion in ends_with_blank_line. Closes #284. | |||
2019-03-17 | In ends_with_blank_line, call S_set_last_line_blank... | John MacFarlane | |
to avoid unnecessary repetition. Once we settle whether a list item ends in a blank line, we don't need to revisit this in considering parent list items. See commonmark/cmark#284. | |||
2019-03-17 | Add pathological test for #285. | John MacFarlane | |
2019-03-17 | Add regression test for commonmark#526. | John MacFarlane | |
2019-03-17 | Disallow unescaped ( in parenthesized link title. | John MacFarlane | |
In accord with spec change. | |||
2019-03-17 | Update test/spec.txt | John MacFarlane | |
2018-12-17 | Merge pull request #277 from elibarzilay/master | John MacFarlane | |
Update the Racket wrapper | |||
2018-11-23 | Merge pull request #278 from github/upstream-pledge | John MacFarlane | |
Use pledge(2) on OpenBSD | |||
2018-11-21 | check for OpenBSD 5.9+ | Ashe Connor | |
2018-11-20 | Use pledge(2) on OpenBSD | Ashe Connor | |
2018-11-14 | Update the Racket wrapper | Eli Barzilay | |
2018-11-13 | Merge pull request #275 from github/inline-sourcepos-off | John MacFarlane | |
correct sourcepos for emphasis inlines | |||
2018-11-13 | copy line/col info straight from opener/closer | Ashe Connor | |
We can't rely on anything in `subj` since it's been modified while parsing the subject and could represent line info from a future line. This is simple and works. | |||
2018-11-13 | expand tests | Ashe Connor | |
2018-11-12 | add failing test | Ashe Connor | |
2018-10-31 | render.c: reset last_breakable after cr. | John MacFarlane | |
Fixes jgm/pandoc#5033. | |||
2018-10-08 | Merge pull request #272 from felixonmars/patch-2 | John MacFarlane | |
Fix a typo in houdini_href_e.c | |||
2018-10-08 | Fix a typo in houdini_href_e.c | Felix Yan | |
2018-10-04 | commonmark writer: use ~~~ fences if info string contains backtick. | John MacFarlane | |
This is needed for round-trip tests. | |||
2018-10-04 | Update scanners for new info string rules. | John MacFarlane | |
2018-10-04 | Update spec.txt. | John MacFarlane | |
2018-09-14 | Merge pull request #257 from pclouds/xml-space-preserve | John MacFarlane | |
Add xml:space="preserve" in XML output when appropriate | |||
2018-09-14 | Merge pull request #267 from nwellnhof/xml2md | John MacFarlane | |
XSLT stylesheet to convert cmark XML back to Commonmark | |||
2018-09-14 | Minor fixes to xml2md.xsl | Nick Wellnhofer | |
- Remove outdated comment - Fix code block delimiter | |||
2018-09-14 | XSLT stylesheet to convert cmark XML back to Commonmark | Nick Wellnhofer | |
Initial version of an XSLT stylesheet that converts the XML format produced by `cmark -t xml` back to Commonmark. Fixes #264 | |||
2018-09-09 | Update spec.txt. | John MacFarlane | |
2018-09-09 | Check for whitespace before reference title. | John MacFarlane | |
Closes #263. | |||
2018-09-09 | Update spec.txt. | John MacFarlane | |
2018-09-06 | Merge pull request #265 from compnerd/upstream-windows-cross-compile | John MacFarlane | |
build: only attempt to install MSVC system libraries on Windows | |||
2018-09-05 | build: only attempt to install MSVC system libraries on Windows | Saleem Abdulrasool | |
Newer versions of CMake attempt to query the system for information about the VS 2017 installation. Unfortunately, this query fails on non-Windows systems when cross-compiling: cmake_host_system_information does not recognize <key> VS_15_DIR CMake will not find these system libraries on non-Windows hosts anyways, and we were silencing the warnings, so simply omit the installation when cross-compiling to Windows. | |||
2018-08-27 | Fix appveyor links. | John MacFarlane | |
Closes #251. | |||
2018-08-26 | Simplify code normalization, in line with spec change. | John MacFarlane | |
2018-08-26 | Updated spec.txt. | John MacFarlane | |
2018-08-25 | Code span spec changes. | John MacFarlane | |
These affect both parsing and writing commonmark. | |||
2018-08-25 | Update spec.txt. | John MacFarlane | |
2018-08-25 | entity_tests.py - omit noisy success output. | John MacFarlane | |
2018-07-19 | Merge pull request #259 from github/link-parsing-corner-cases | John MacFarlane | |
add link parsing corner cases to regressions | |||
2018-07-16 | add link parsing corner cases to regressions | Ashe Connor | |
2018-07-07 | Add xml:space="preserve" in XML output when appropriate | Nguyễn Thái Ngọc Duy | |
With current HTML escaping, sometimes we may produce an XML tag like <code_block> </code_block> Many XML parsers consider these spaces insignificant and strip them out but we need this. There's actually a test case like this in spec.txt (search "A code block can have all empty lines as its content:") and without proper hinting, an external xml->html converter will fail the spec. XML standard covers this case. If xml:space is "preserve", then whitespaces are significant and should be kept. Add this hint for text, code, code_block, html_inline and html_block tags. | |||
2018-06-11 | Fix spaces on regression test. | John MacFarlane | |