]> _ Git - fluidbook-html5.git/commitdiff
done #2002 @1.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 26 Mar 2018 10:28:22 +0000 (12:28 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 26 Mar 2018 10:28:22 +0000 (12:28 +0200)
js/libs/fluidbook/fluidbook.bookmarks.js
js/libs/fluidbook/fluidbook.l10n.js

index a5d1e870e4bf2d049bb70471b6272be72b5e45f7..b4a9537b655dd9251a938bff36b259232bcf252e 100644 (file)
@@ -43,7 +43,7 @@ FluidbookBookmarks.prototype = {
             }
 
             subject = subject.replace(/\%title\%/gi, $this.fluidbook.datas.title);
-            body = trim(body.replace(/\%title\%/gi, $this.fluidbook.datas.title), ' .');
+            body = trim(body.replace(/\%title\%/gi, $this.fluidbook.datas.title), ' .:');
             body += $this.fluidbook.l10n.__(": ") + $this.getPDF();
 
             $this.fluidbook.share.intentShare(subject, body);
index 5f957ac96fae665ad6b0ce5b3c60dc187e5c8b40..4990c81883467e7ba509b1d91e69d85d98aaf0d3 100644 (file)
@@ -180,8 +180,7 @@ FluidbookL10N.prototype = {
         if (str.substr(0, 1) == '!') {
             return str.substr(1);
         }
-
-
+        
         if (this.translations[str] == undefined || this.translations[str] == null || this.translations[str] == '') {
             if (markupIfNonAvailable == undefined || !markupIfNonAvailable) {
                 return str;