Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
avoid empty titles in notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed May 19, 2015
1 parent 27900ea commit c5383ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pyquickhelper/ipythonhelper/helper_in_notebook.py
Expand Up @@ -142,6 +142,9 @@ def add_notebook_menu(menu_id="my_id_menu_nb", raw=False, format="html", header=
if (title.endsWith('¶')) {
title = title.substring(0,title.length-1);
}
if (title.length == 0) {
continue;
}
if (level > memo_level) {
text_menu += "<ul>\\n";
}
Expand Down

0 comments on commit c5383ca

Please sign in to comment.