diff options
Diffstat (limited to 'test-convert-markdown.c')
| -rw-r--r-- | test-convert-markdown.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/test-convert-markdown.c b/test-convert-markdown.c index e33383f..0a2e6d0 100644 --- a/test-convert-markdown.c +++ b/test-convert-markdown.c @@ -65,9 +65,20 @@ int main(void) { errors += test_parse_file("2. Bold", "**bold**", "<p><strong>bold</strong></p>\n"); + /* + * Lowdown 1.0.2 removed superfluous newlines between HTML elements (see + * GitHub commit f42602c); as a result, this test will fail for versions + * older than that. + * + * Package or port availability as of 2023-11-29 (amd64-only; not an + * exhaustive list): + * FreeBSD: 1.1.0 (latest), 1.0.2 (quarterly) + * OpenBSD: 1.0.0 + * Ubuntu: 1.0.0 (23.10 and 23.04), 0.10.0 (22.04) + */ errors += test_parse_file("3. Multiline", "# header\n`code`", - "<h1 id=\"header\">header</h1>\n\n<p><code>code</code></p>\n"); + "<h1 id=\"header\">header</h1>\n<p><code>code</code></p>\n"); printf("\n============\nTest Summary\n============\n"); |
