|
ee3bee1a
|
2017-08-02T00:37:18
|
|
Upgrade to CommonMark specification 0.28.
|
|
c52a50a3
|
2017-07-24T21:07:09
|
|
pathological_tests.py: Add test for reference definition lookup.
|
|
938460d5
|
2017-07-24T21:17:53
|
|
Improve/unify output of test scripts.
|
|
c51fb310
|
2017-07-24T23:14:05
|
|
md_analyze_marks: Walk only required range of the marks.
This changes causes that when recursing to analysis of link contents,
only the marks between the link opener and closer are iterated in
md_analyze_marks().
Fixes #22
|
|
a27aefde
|
2017-07-24T20:17:50
|
|
pathological_tests.py: Allow short option -p as a synonym of --program.
|
|
f4f7b223
|
2017-07-24T20:15:09
|
|
pathological_tests.py: Allow Windowish line ends.
|
|
26f14899
|
2017-07-24T19:27:27
|
|
Add pathological_tests.py from cmark.
|
|
ad4f28bb
|
2017-07-24T20:09:23
|
|
md_analyze_simple_pairing_mark: Fix the "rule of three".
If the first emphasis opener is refused due the rule of three, a previous
opener is examined. However the variable opener_orig_size_module3 was not
(re)set accordingly.
Fixes #21.
|
|
cfbce759
|
2017-07-18T18:01:02
|
|
Rework ref. def. dictionary.
It now uses FNV1a and we now sort/bsearch only contents of single bucket.
Additionally we fix #20 by disabling the invalid ref. definitions during
hashtable build.
|
|
f2821cbd
|
2017-07-14T17:10:45
|
|
md_analyze_permissive_email_autolink: Make it compatible with CMark-gfm.
|
|
1bc7f3a8
|
2017-07-14T02:22:15
|
|
render_url_escaped: Fix escaping of ampersand.
This affected generating href attribute if links or src attribute of
images.
|
|
f3f9404e
|
2017-07-14T02:06:23
|
|
Improve URL autolinks extension.
It is now much more compatible to Cmark-gfm.
With the flag MD_FLAG_PERMISSIVEWWWAUTOLINKS, we now also support the
WWW autolinks (when the http: scheme is omitted).
|
|
25a156ee
|
2017-07-12T23:30:14
|
|
Implement strikethrough extension.
|
|
8999e184
|
2017-01-04T14:40:44
|
|
Fix "rule of three" for emphasis resolution (issue #14).
|
|
c63909df
|
2017-01-04T15:04:09
|
|
When splitting emphasis opener mark, we have to retain 'dummy' marks available for more splitting in the future (issue #15).
|
|
52712384
|
2016-12-27T22:47:03
|
|
When parsing tables, pipes inside a link/image/code span cannot make cell boundary (issue #7).
|
|
f9b4cb8f
|
2016-12-15T16:47:41
|
|
md_process_inlines: Fix when an expanded mark shadows some nested marks (issue #11).
|
|
c235a02e
|
2016-12-15T13:18:48
|
|
test/coverage.txt: Add some tests for higher code coverage.
|
|
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.
|
|
ba29d007
|
2016-12-12T23:31:59
|
|
md_is_link_reference_definition: Fix handling of multiline label (issue #9).
|
|
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.
|
|
23312d6d
|
2016-12-05T11:13:43
|
|
md_is_html_tag: Fix parsing unquoted attribute value (issue #2).
|
|
b40d5950
|
2016-12-04T17:01:00
|
|
Fix file permissions of python scripts.
|
|
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.
|
|
809e611b
|
2016-11-20T00:57:32
|
|
Migrate to CommonMark pecification 0.27.
|
|
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.
|
|
1cfc6a5f
|
2016-10-11T01:10:11
|
|
Incorporate the specification testsuite from CommonMark.
|