diff options
Diffstat (limited to 'renderer/src/html')
| -rw-r--r-- | renderer/src/html/tests.rs | 11 | 
1 files changed, 8 insertions, 3 deletions
| diff --git a/renderer/src/html/tests.rs b/renderer/src/html/tests.rs index 6387238..a4ec633 100644 --- a/renderer/src/html/tests.rs +++ b/renderer/src/html/tests.rs @@ -100,8 +100,13 @@ hello ``foo.map(|world| world + 42)``  .. code::     foo.map(|world| world + 42) + +:: + +    hay! |x|  ", "<p>hello <code>foo.map(|world| world + 42)</code></p> -<pre>foo.map(|world| world + 42)\n</pre>"); +<pre><code>foo.map(|world| world + 42)\n</code></pre> +<pre>hay! |x|\n</pre>");  }  /* @@ -305,11 +310,11 @@ fn code() {         # comment  ", "\ -<pre class=\"python\">def foo(): +<pre><code class=\"language-python\">def foo():      print('Hi!')      # comment -</pre>\ +</code></pre>\  ");  } | 
