diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2022-01-10 10:40:49 -0800 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2022-01-10 10:40:49 -0800 |
| commit | 7bf119168658627dbddcc6753b79a5f921519782 (patch) | |
| tree | 464d540b7e82a45914b9ad73f0cfc7014899b898 /test/command | |
| parent | 6f739cdb4d754e04a006aa796c45342e92a424bb (diff) | |
HTML writer: don't break attributes values when wrapping.
Diffstat (limited to 'test/command')
| -rw-r--r-- | test/command/3534.md | 18 | ||||
| -rw-r--r-- | test/command/3752.md | 8 | ||||
| -rw-r--r-- | test/command/5627.md | 16 | ||||
| -rw-r--r-- | test/command/5650.md | 8 | ||||
| -rw-r--r-- | test/command/5655.md | 8 |
5 files changed, 29 insertions, 29 deletions
diff --git a/test/command/3534.md b/test/command/3534.md index 42dca9207..41bf9a5ff 100644 --- a/test/command/3534.md +++ b/test/command/3534.md @@ -2,9 +2,9 @@ % pandoc -f latex -t html I want to explain the interface of \lstinline[language=Java]{public class MyClass}. ^D -<p>I want to explain the interface of <code class="sourceCode -java"><span class="kw">public</span> <span class="kw">class</span> -MyClass</code>.</p> +<p>I want to explain the interface of <code +class="sourceCode java"><span class="kw">public</span> <span +class="kw">class</span> MyClass</code>.</p> ``` @@ -46,9 +46,9 @@ I want to explain the interface of \lstinline[language=Java]{public class MyClas % pandoc -f latex -t html I want to explain the interface of \mintinline{java}{public class MyClass}. ^D -<p>I want to explain the interface of <code class="sourceCode -java"><span class="kw">public</span> <span class="kw">class</span> -MyClass</code>.</p> +<p>I want to explain the interface of <code +class="sourceCode java"><span class="kw">public</span> <span +class="kw">class</span> MyClass</code>.</p> ``` @@ -56,9 +56,9 @@ MyClass</code>.</p> % pandoc -f latex -t html I want to explain the interface of \mintinline{java}|public class MyClass|. ^D -<p>I want to explain the interface of <code class="sourceCode -java"><span class="kw">public</span> <span class="kw">class</span> -MyClass</code>.</p> +<p>I want to explain the interface of <code +class="sourceCode java"><span class="kw">public</span> <span +class="kw">class</span> MyClass</code>.</p> ``` diff --git a/test/command/3752.md b/test/command/3752.md index 7db581cfe..bac81b1a1 100644 --- a/test/command/3752.md +++ b/test/command/3752.md @@ -32,8 +32,8 @@ A spider: [spider] ^D <h1 id="chapter-one">Chapter one</h1> <p>A spider: <img src="command/chap1/spider.png" alt="spider" /></p> -<p>Another spider: <img src="command/chap2/spider.png" alt="another -spider" /></p> +<p>Another spider: <img src="command/chap2/spider.png" +alt="another spider" /></p> <p>The moon: <img src="command/chap1/../../lalune.jpg" alt="moon" /></p> <p>Link to <a href="command/chap1/spider.png">spider picture</a>.</p> <p>URL left alone: <a @@ -51,8 +51,8 @@ href="/foo/bar/baz.png">absolute</a>.</p> ^D <h1>Chapter one</h1> <p>A spider: <img src="command/chap1/spider.png" alt="spider" /></p> -<p>Another spider: <img src="command/chap2/spider.png" alt="another -spider" /></p> +<p>Another spider: <img src="command/chap2/spider.png" +alt="another spider" /></p> <p>The moon: <img src="command/chap1/../../lalune.jpg" alt="moon" /></p> <p>Link to <a href="command/chap1/spider.png">spider picture</a>.</p> <p>URL left alone: <a diff --git a/test/command/5627.md b/test/command/5627.md index dde4c99d6..fde15fe9a 100644 --- a/test/command/5627.md +++ b/test/command/5627.md @@ -20,10 +20,10 @@ Something <li>Two <code>-->something<!--</code></li> <li>Three</li> </ol> -<div class="sourceCode" id="cb1"><pre class="sourceCode -html"><code class="sourceCode html"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a>--><span class="co"><!--<script>alert('Escaped!')</script></span></span></code></pre></div> -<div class="sourceCode" id="cb2"><pre class="sourceCode -html"><code class="sourceCode html"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a>Something</span></code></pre></div> +<div class="sourceCode" id="cb1"><pre +class="sourceCode html"><code class="sourceCode html"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a>--><span class="co"><!--<script>alert('Escaped!')</script></span></span></code></pre></div> +<div class="sourceCode" id="cb2"><pre +class="sourceCode html"><code class="sourceCode html"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a>Something</span></code></pre></div> ``` ``` @@ -48,10 +48,10 @@ Something <li><code>-->something<!--</code></li> <li>bye <code>-->something else<!--</code></li> </ul> -<div class="sourceCode" id="cb1"><pre class="sourceCode -html"><code class="sourceCode html"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a>--><span class="co"><!--<script>alert('Escaped!')</script></span></span></code></pre></div> -<div class="sourceCode" id="cb2"><pre class="sourceCode -html"><code class="sourceCode html"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a>Something</span></code></pre></div> +<div class="sourceCode" id="cb1"><pre +class="sourceCode html"><code class="sourceCode html"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a>--><span class="co"><!--<script>alert('Escaped!')</script></span></span></code></pre></div> +<div class="sourceCode" id="cb2"><pre +class="sourceCode html"><code class="sourceCode html"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a>Something</span></code></pre></div> ``` ``` diff --git a/test/command/5650.md b/test/command/5650.md index 1e96aeaa4..c333d5bcd 100644 --- a/test/command/5650.md +++ b/test/command/5650.md @@ -5,8 +5,8 @@ a b ``` ^D -<div class="sourceCode" id="foocb1"><pre class="sourceCode -haskell"><code class="sourceCode haskell"><span id="foocb1-1"><a href="#foocb1-1" aria-hidden="true" tabindex="-1"></a>a</span> +<div class="sourceCode" id="foocb1"><pre +class="sourceCode haskell"><code class="sourceCode haskell"><span id="foocb1-1"><a href="#foocb1-1" aria-hidden="true" tabindex="-1"></a>a</span> <span id="foocb1-2"><a href="#foocb1-2" aria-hidden="true" tabindex="-1"></a>b</span></code></pre></div> ```` @@ -17,8 +17,8 @@ a b ``` ^D -<div class="sourceCode" id="foobar"><pre class="sourceCode -haskell"><code class="sourceCode haskell"><span id="foobar-1"><a href="#foobar-1" aria-hidden="true" tabindex="-1"></a>a</span> +<div class="sourceCode" id="foobar"><pre +class="sourceCode haskell"><code class="sourceCode haskell"><span id="foobar-1"><a href="#foobar-1" aria-hidden="true" tabindex="-1"></a>a</span> <span id="foobar-2"><a href="#foobar-2" aria-hidden="true" tabindex="-1"></a>b</span></code></pre></div> ```` diff --git a/test/command/5655.md b/test/command/5655.md index 72ad46e5e..e9fb1b628 100644 --- a/test/command/5655.md +++ b/test/command/5655.md @@ -4,8 +4,8 @@ $T_n={n+1 \choose 2}$ ^D <p><img style="vertical-align:middle" src="https://latex.codecogs.com/png.latex?%5Ctextstyle%20T_n%3D%7Bn%2B1%20%5Cchoose%202%7D" -alt="T_n={n+1 \choose 2}" title="T_n={n+1 \choose 2}" class="math -inline" /></p> +alt="T_n={n+1 \choose 2}" title="T_n={n+1 \choose 2}" +class="math inline" /></p> ```` ```` @@ -14,7 +14,7 @@ $$T_n={n+1 \choose 2}$$ ^D <p><img style="vertical-align:middle" src="https://latex.codecogs.com/png.latex?%5Cdisplaystyle%20T_n%3D%7Bn%2B1%20%5Cchoose%202%7D" -alt="T_n={n+1 \choose 2}" title="T_n={n+1 \choose 2}" class="math -display" /></p> +alt="T_n={n+1 \choose 2}" title="T_n={n+1 \choose 2}" +class="math display" /></p> ```` |
