Show More
@@ -321,7 +321,7 var IPython = (function (IPython) { | |||||
321 | var html = marked.parser(marked.lexer(text)); |
|
321 | var html = marked.parser(marked.lexer(text)); | |
322 | html = $(IPython.mathjaxutils.replace_math(html, math)); |
|
322 | html = $(IPython.mathjaxutils.replace_math(html, math)); | |
323 | // links in markdown cells should open in new tabs |
|
323 | // links in markdown cells should open in new tabs | |
324 | html.find("a[href]").attr("target", "_blank"); |
|
324 | html.find("a[href]").not('[href^="#"]').attr("target", "_blank"); | |
325 | try { |
|
325 | try { | |
326 | this.set_rendered(html); |
|
326 | this.set_rendered(html); | |
327 | } catch (e) { |
|
327 | } catch (e) { |
General Comments 0
You need to be logged in to leave comments.
Login now