test


Log

Author Commit Date CI Message
Martin Mitas 52712384 2016-12-27T22:47:03 When parsing tables, pipes inside a link/image/code span cannot make cell boundary (issue #7).
Martin Mitas f9b4cb8f 2016-12-15T16:47:41 md_process_inlines: Fix when an expanded mark shadows some nested marks (issue #11).
Martin Mitas c235a02e 2016-12-15T13:18:48 test/coverage.txt: Add some tests for higher code coverage.
Martin Mitas a725fee3 2016-12-14T16:51:24 md_enter_child_containers: Fix crash (issue #10). Calling md_push_container_bytes() may result in ending a current block which may result in removing some contents from ctx->block_bytes when removing some lines with link reference definitions. This in effect means we have to end the block explicitly before storing the offset into the ctx->block_bytes.
Martin Mitas ba29d007 2016-12-12T23:31:59 md_is_link_reference_definition: Fix handling of multiline label (issue #9).
Martin Mitas 09ae8609 2016-12-07T23:56:47 Handle images more like links. Remove MD_SPAN_IMG_DETAIL::alt. Instead, the contents of the image is propagated to the renderer via MD_RENDERER::text() callback. * This fixes handling of entities inside the image text (issue #4). * It simplifies parsing and, more importantly, it better distingusshes what is responsibility of parser or renderer respectively. * This allows more flexibility on renderers side. Renderer who do not * really support images can just output the image content as any other text. The cost is a renderer into HTML (if it wants to render image contents into the attribute ALT of the IMG tag), has to handle images with more care. Typically such renderer has to track whether it is inside an image, and if so, then render span enter/leave as an empty string.
Martin Mitas 23312d6d 2016-12-05T11:13:43 md_is_html_tag: Fix parsing unquoted attribute value (issue #2).
Martin Mitas b40d5950 2016-12-04T17:01:00 Fix file permissions of python scripts.
Martin Mitas be7fcc16 2016-11-21T09:47:31 Implement tables. Note it is implemented as an extension. To enable it, the flag MD_FLAG_TABLES must be explicitly specified.
Martin Mitas 809e611b 2016-11-20T00:57:32 Migrate to CommonMark pecification 0.27.
Martin Mitas ef5f230f 2016-10-14T19:56:05 Implement permissive autolinks extensions. With MD_FLAG_PERMISSIVEURLAUTOLINKS, we treat not overly complicated URLs as autolinks even without '<' and '>'. With MD_FLAG_PERMISSIVEEMAILAUTOLINKS, we treat not overly complicated e-mail addresses as autolinks even without '<', '>' and without the 'mailto:' scheme. Also expanded md2html utility and tests to cover these.
Martin Mitas 1cfc6a5f 2016-10-11T01:10:11 Incorporate the specification testsuite from CommonMark.