From fd4d1d2183b6f1f41445ba0461799da71adfb11a Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Sun, 5 Mar 2017 14:51:00 -0500 Subject: Loosen whitespace requirements for admonitions. Also consume to the end of the first line of any admonition. Everything after the title is discarded. However, the only thing that will match should be whitespace so it should be a non-issue. Fixes #550. --- tests/extensions/admonition.html | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests/extensions/admonition.html') diff --git a/tests/extensions/admonition.html b/tests/extensions/admonition.html index c900757..511d71a 100644 --- a/tests/extensions/admonition.html +++ b/tests/extensions/admonition.html @@ -28,4 +28,12 @@

An explicitly empty string prevents the title from being rendered.

+
+

No body:

+
+

Note

+
+

Extra whitespace after the title should not alter output:

+
+

Note

\ No newline at end of file -- cgit v1.2.3