aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/enumerations_of_dates_not_formatted_correctly.mdwn
diff options
context:
space:
mode:
authorhttp://smcv.pseudorandom.co.uk/ <smcv@web>2011-01-25 12:20:25 +0000
committerJoey Hess <joey@kitenet.net>2011-01-25 12:20:25 +0000
commit6a1a041b4f01f5f6f46de3e15c7fdac6543e62d6 (patch)
treec53ff31b05bf70cfcca6f617c8e7031e8d4c3172 /doc/bugs/enumerations_of_dates_not_formatted_correctly.mdwn
parentfd6ac25f3cf38380dbd07139cfe463a98bdf4c13 (diff)
downloadikiwiki-6a1a041b4f01f5f6f46de3e15c7fdac6543e62d6.tar
ikiwiki-6a1a041b4f01f5f6f46de3e15c7fdac6543e62d6.tar.gz
thanks, markdown. tharkdown.
Diffstat (limited to 'doc/bugs/enumerations_of_dates_not_formatted_correctly.mdwn')
-rw-r--r--doc/bugs/enumerations_of_dates_not_formatted_correctly.mdwn20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/bugs/enumerations_of_dates_not_formatted_correctly.mdwn b/doc/bugs/enumerations_of_dates_not_formatted_correctly.mdwn
index 4a78ea3f9..f9ebf8c13 100644
--- a/doc/bugs/enumerations_of_dates_not_formatted_correctly.mdwn
+++ b/doc/bugs/enumerations_of_dates_not_formatted_correctly.mdwn
@@ -9,3 +9,23 @@ Testcase:
* 27. March
* 99. November
* 42. April
+
+> That's a consequence of Markdown syntax. The syntax for ordered lists
+> (HTML `<ol>`) in Markdown is to use arbitrary numeric prefixes in that style,
+> so your text gets parsed as:
+>
+> <ul>
+> <li>
+> <ol>
+> <li>January</li>
+> </ol>
+> </li>
+> ...
+>
+> You can avoid that interpretation by escaping the dot with a backslash
+> (`1\. January`) like so:
+>
+> * 1\. January
+> * 27\. March
+>
+> or by writing "1st January" and so on. --[[smcv]]