From 60badb22daaa6f17fe87f98e0905dbfb6c54e066 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 2 Feb 2018 18:43:14 +0100 Subject: [PATCH] done #1925 @0.5 --- js/libs/fluidbook/menu/fluidbook.chapters.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/libs/fluidbook/menu/fluidbook.chapters.js b/js/libs/fluidbook/menu/fluidbook.chapters.js index 34d0bce2..10b7b595 100644 --- a/js/libs/fluidbook/menu/fluidbook.chapters.js +++ b/js/libs/fluidbook/menu/fluidbook.chapters.js @@ -21,7 +21,7 @@ FluidbookChapters.prototype = { if (this.html[sub] == null) { this.makeView(sub); } - return {sub:sub,view: this.html[sub], title: this.titles[sub], color: this.colors[sub]}; + return {sub: sub, view: this.html[sub], title: this.titles[sub], color: this.colors[sub]}; }, makeView: function (sub) { this.makeClassicMenu(sub); @@ -137,6 +137,7 @@ FluidbookChapters.prototype = { chapter.level = '-1'; } + chapter.label = chapter.label.replace(/\*([^\*]+)\*/g, '$1'); var res = ''; var href; -- 2.39.5