##// END OF EJS Templates
Merge pull request #3824 from minrk/heading-link-local...
Min RK -
r11809:334e6fe4 merge
parent child Browse files
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