aboutsummaryrefslogtreecommitdiff
path: root/test/lhs-test.html+lhs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-05-12 13:51:48 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2020-05-12 14:37:07 -0700
commit46179d5b3e84b5c709e09924cbda524230ebd3fe (patch)
tree0f3da4bc4f2a0e508f8608ec3ab1e0b73e18c42b /test/lhs-test.html+lhs
parent9c76c52e9bb1481234b8ee5ef9c524a5a61d43bd (diff)
downloadpandoc-46179d5b3e84b5c709e09924cbda524230ebd3fe.tar.gz
Use latest skylighting.
This adds `aria-hidden="true"` to the empty a elements, which helps people who use screen readers.
Diffstat (limited to 'test/lhs-test.html+lhs')
-rw-r--r--test/lhs-test.html+lhs6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/lhs-test.html+lhs b/test/lhs-test.html+lhs
index 0ada9fac8..22f807e17 100644
--- a/test/lhs-test.html+lhs
+++ b/test/lhs-test.html+lhs
@@ -83,9 +83,9 @@
<h1 id="lhs-test">lhs test</h1>
<p><code>unsplit</code> is an arrow that takes a pair of values and combines them to
return a single value:</p>
-<div class="sourceCode" id="cb1"><pre class="sourceCode literatehaskell literate"><code class="sourceCode literatehaskell"><span id="cb1-1"><a href="#cb1-1"></a><span class="ot">&gt; unsplit ::</span> (<span class="dt">Arrow</span> a) <span class="ot">=&gt;</span> (b <span class="ot">-&gt;</span> c <span class="ot">-&gt;</span> d) <span class="ot">-&gt;</span> a (b, c) d</span>
-<span id="cb1-2"><a href="#cb1-2"></a><span class="ot">&gt;</span> unsplit <span class="ot">=</span> arr <span class="op">.</span> <span class="fu">uncurry</span></span>
-<span id="cb1-3"><a href="#cb1-3"></a><span class="ot">&gt;</span> <span class="co">-- arr (\op (x,y) -&gt; x `op` y)</span></span></code></pre></div>
+<div class="sourceCode" id="cb1"><pre class="sourceCode literatehaskell literate"><code class="sourceCode literatehaskell"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true"></a><span class="ot">&gt; unsplit ::</span> (<span class="dt">Arrow</span> a) <span class="ot">=&gt;</span> (b <span class="ot">-&gt;</span> c <span class="ot">-&gt;</span> d) <span class="ot">-&gt;</span> a (b, c) d</span>
+<span id="cb1-2"><a href="#cb1-2" aria-hidden="true"></a><span class="ot">&gt;</span> unsplit <span class="ot">=</span> arr <span class="op">.</span> <span class="fu">uncurry</span></span>
+<span id="cb1-3"><a href="#cb1-3" aria-hidden="true"></a><span class="ot">&gt;</span> <span class="co">-- arr (\op (x,y) -&gt; x `op` y)</span></span></code></pre></div>
<p><code>(***)</code> combines two arrows into a new arrow by running the two arrows on a
pair of values (one arrow on the first item of the pair and one arrow on the
second item of the pair).</p>