File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 13
13
"jquery" : " components/jquery#~3.3" ,
14
14
"jquery-typeahead" : " ~2.0.0" ,
15
15
"jquery-ui" : " components/jqueryui#~1.10" ,
16
- "marked" : " ~0.3 " ,
16
+ "marked" : " ~0.4 " ,
17
17
"MathJax" : " components/MathJax#~2.6" ,
18
18
"moment" : " ~2.19.3" ,
19
19
"preact" : " https://unpkg.com/preact@^7.2.0/dist/preact.min.js" ,
Original file line number Diff line number Diff line change @@ -96,11 +96,11 @@ casper.notebook_test(function () {
96
96
} ;
97
97
98
98
var codeblock = '```\nx = 1\n```'
99
- var result = '<pre><code>x = 1\n </code></pre>'
99
+ var result = '<pre><code>x = 1</code></pre>'
100
100
md_render_test ( codeblock , result , 'Markdown code block no language' ) ;
101
101
102
102
codeblock = '```aaaa\nx = 1\n```'
103
- result = '<pre><code class="cm-s-ipython language-aaaa">x = 1\n </code></pre>'
103
+ result = '<pre><code class="cm-s-ipython language-aaaa">x = 1</code></pre>'
104
104
md_render_test ( codeblock , result , 'Markdown code block unknown language' ) ;
105
105
106
106
function mathjax_render_test ( input_string , result , message ) {
Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ def test_markdown_cell(notebook):
20
20
expected_contents = ['<h1 id="Foo">Foo<a class="anchor-link" href="#Foo">¶</a></h1>' ,
21
21
'<p><strong>Bar</strong></p>' ,
22
22
'<p><em>Baz</em></p>' ,
23
- '<pre><code>x = 1\n </code></pre>' ,
24
- '<pre><code class="cm-s-ipython language-aaaa">x = 1\n </code></pre>'
23
+ '<pre><code>x = 1</code></pre>' ,
24
+ '<pre><code class="cm-s-ipython language-aaaa">x = 1</code></pre>'
25
25
]
26
26
nb .append (* cell_text , cell_type = "markdown" )
27
27
nb .run_all ()
You can’t perform that action at this time.
0 commit comments