thanks, markdown. tharkdown.
authorhttp://smcv.pseudorandom.co.uk/ <smcv@web>
Tue, 25 Jan 2011 12:20:25 +0000 (12:20 +0000)
committerJoey Hess <joey@kitenet.net>
Tue, 25 Jan 2011 12:20:25 +0000 (12:20 +0000)
doc/bugs/enumerations_of_dates_not_formatted_correctly.mdwn

index 4a78ea3f93a2c8f3c3a756ee39f8f87c03ee6c24..f9ebf8c13de1b81c486d3b9757f09a7738f8fa1c 100644 (file)
@@ -9,3 +9,23 @@ Testcase:
 * 27. March
 * 99. November
 * 42. April
 * 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]]