aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2014-06-05 19:49:27 +0200
committerMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2014-06-05 19:49:27 +0200
commit61f151adac04acc2fffab75f7564a390f6bf39d6 (patch)
tree2f2958542d7dc93daa7acd6eb6ea0ad65ecf8ea1
parentc4f6201356b29023ecbd2f7bf1c91e5318586765 (diff)
Clear up highlighting of identifiers with ‘'’s.
-rw-r--r--doc/haddock.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/haddock.xml b/doc/haddock.xml
index 6f9f62e6..1eaa7f02 100644
--- a/doc/haddock.xml
+++ b/doc/haddock.xml
@@ -1874,6 +1874,11 @@ module A where
-- | I don't have to escape my apostrophes; great, isn't it?
</programlisting>
+ <para>Nothing special is needed to hyperlink identifiers which
+ contain apostrophes themselves: to hyperlink
+ <literal>foo'</literal> one would simply type
+ <literal>'foo''</literal>.</para>
+
<para>For compatibility with other systems, the following
alternative form of markup is accepted<footnote><para>
We chose not to use this as the primary markup for