summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-03-17Add pathological test for #285.John MacFarlane
2019-03-17Add regression test for commonmark#526.John MacFarlane
2019-03-17Disallow unescaped ( in parenthesized link title.John MacFarlane
In accord with spec change.
2019-03-17Update test/spec.txtJohn MacFarlane
2018-12-17Merge pull request #277 from elibarzilay/masterJohn MacFarlane
Update the Racket wrapper
2018-11-23Merge pull request #278 from github/upstream-pledgeJohn MacFarlane
Use pledge(2) on OpenBSD
2018-11-21check for OpenBSD 5.9+Ashe Connor
2018-11-20Use pledge(2) on OpenBSDAshe Connor
2018-11-14Update the Racket wrapperEli Barzilay
2018-11-13Merge pull request #275 from github/inline-sourcepos-offJohn MacFarlane
correct sourcepos for emphasis inlines
2018-11-13copy line/col info straight from opener/closerAshe 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-13expand testsAshe Connor
2018-11-12add failing testAshe Connor
2018-10-31render.c: reset last_breakable after cr.John MacFarlane
Fixes jgm/pandoc#5033.
2018-10-08Merge pull request #272 from felixonmars/patch-2John MacFarlane
Fix a typo in houdini_href_e.c
2018-10-08Fix a typo in houdini_href_e.cFelix Yan
2018-10-04commonmark writer: use ~~~ fences if info string contains backtick.John MacFarlane
This is needed for round-trip tests.
2018-10-04Update scanners for new info string rules.John MacFarlane
2018-10-04Update spec.txt.John MacFarlane
2018-09-14Merge pull request #257 from pclouds/xml-space-preserveJohn MacFarlane
Add xml:space="preserve" in XML output when appropriate
2018-09-14Merge pull request #267 from nwellnhof/xml2mdJohn MacFarlane
XSLT stylesheet to convert cmark XML back to Commonmark
2018-09-14Minor fixes to xml2md.xslNick Wellnhofer
- Remove outdated comment - Fix code block delimiter
2018-09-14XSLT stylesheet to convert cmark XML back to CommonmarkNick Wellnhofer
Initial version of an XSLT stylesheet that converts the XML format produced by `cmark -t xml` back to Commonmark. Fixes #264
2018-09-09Update spec.txt.John MacFarlane
2018-09-09Check for whitespace before reference title.John MacFarlane
Closes #263.
2018-09-09Update spec.txt.John MacFarlane
2018-09-06Merge pull request #265 from compnerd/upstream-windows-cross-compileJohn MacFarlane
build: only attempt to install MSVC system libraries on Windows
2018-09-05build: only attempt to install MSVC system libraries on WindowsSaleem 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-27Fix appveyor links.John MacFarlane
Closes #251.
2018-08-26Simplify code normalization, in line with spec change.John MacFarlane
2018-08-26Updated spec.txt.John MacFarlane
2018-08-25Code span spec changes.John MacFarlane
These affect both parsing and writing commonmark.
2018-08-25Update spec.txt.John MacFarlane
2018-08-25entity_tests.py - omit noisy success output.John MacFarlane
2018-07-19Merge pull request #259 from github/link-parsing-corner-casesJohn MacFarlane
add link parsing corner cases to regressions
2018-07-16add link parsing corner cases to regressionsAshe Connor
2018-07-07Add xml:space="preserve" in XML output when appropriateNguyễ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-11Fix spaces on regression test.John MacFarlane
2018-06-11Removed meta from list of block tags.John MacFarlane
Added regression test. See commonmark/CommonMark#527.
2018-04-15pathological_tests.py: make tests run faster.John MacFarlane
- commented out the (already ignored) "many references" test, which times out - reduced the iterations for a couple other tests
2018-04-15pathological_tests.py: added test for deeply nested lists.John MacFarlane
2018-04-14Optimize S_find_first_nonspace.John MacFarlane
We were needlessly redoing things we'd already done. Now we skip the work if the first nonspace is greater than the current offset. This fixes pathological slowdown with deeply nested lists (#255). For N = 3000, the time goes from over 17s to about 0.7s. Thanks to @mity for diagnosing the problem.
2018-03-25Allow spaces in link destination delimited with pointy brackets.John MacFarlane
To conform to recent spec change.
2018-03-25Update spec.John MacFarlane
2018-03-25Adjust max length of decimal/numeric entities.John MacFarlane
See commonmark/CommonMark#487.
2018-03-25Fix inline raw HTML parsing.John MacFarlane
This fixes a recently added failing spec test case. Previously spaces were being allowed in unquoted attribute values; no we forbid them.
2018-03-25Don't allow list markers to be indented >= 4 spaces.John MacFarlane
See commonmark/CommonMark#497.
2018-03-25Update spec.txt from repository.John MacFarlane
2017-11-18README - use commonmark/cmark for appveyor badge.John MacFarlane
2017-11-18Merge pull request #250 from nwellnhof/test-static-only-buildJohn MacFarlane
Test static-only build