I assume this is a bug:
When when writing the string "S." on a page, it gets replace with "a." for some reason. I am using "ikiwiki version 3.20150614" form pkgsrc on OS X 10.10.4.
If this is not a bug: Where would I be able to change that behaviour?
P.S.: "S." is the short form of the German "Seite" (en: "p." and "page") and is used frquently in citations, so it's kind of important…
Is it right at the beginning of a line, such that Markdown interprets it as a numbered list item for an HTML
<ol>
?are all interpreted as
a. One b. Two c. Three
If this is what's going on, you can use:
p\. 49
to get:
p. 49
or adjust your spacing so it isn't the first thing on a line.
There is a
MKD_NOALPHALIST
option to discount (assuming that's the Markdown implementation you're using), but it isn't clear which way should be preferred in general.With that option off, people complain that they can't have alphabetical sub-lists (Google for "markdown alpha list" to see this feature request in various places).
With that option on, you get unexpected results for things like your example. It's also liable to break initials (
S. J. McVittie is an ikiwiki contributor
) or the French abbreviation for Monsieur (M. Poirot is a famous French-speaking detective
).The original Markdown didn't have lettered lists; neither does CommonMark, although it's a feature request in CommonMark.
The next ikiwiki release will default to turning off these alphabetically-labelled lists, with a
mdwn_alpha_lists
option to turn them back on if required.