|
4ef024fb
|
2018-05-29T23:30:02
|
|
md_process_inlines: Fix link/image closers spanning over multiple lines.
Fixes #40.
|
|
7deaccf6
|
2018-05-29T18:32:10
|
|
md_is_link_label: Fix if the link label contains just backslash escapes.
The function did not remember the label start line index, leading to bad
consequences.
Fixes #39.
|
|
bf022cb6
|
2018-05-28T21:14:45
|
|
Fix md_split_simple_pairing_mark().
When splitting a mark into two, make sure each of them gets the right
share od dummies for case that we will have to split once more.
Fixes #36.
|
|
0d1a41a4
|
2018-03-28T08:21:21
|
|
md_build_attr_append_substr: Fix +1 allocation error.
Fixes #33.
|
|
07cec7dc
|
2017-08-16T16:34:50
|
|
Add regression test for #24.
|
|
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.
|
|
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).
|
|
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).
|