Removes spaces before and after bookmarklet's name

Carriage returns turns into space in some cases. The name of the
bookmarklet, once in the browser bookmarks, is surrounded by spaces.
This commit is contained in:
Christophe HENRY 2017-02-22 14:55:52 +01:00
parent b9eb50c099
commit b848615c52

View file

@ -30,9 +30,7 @@
'&source=bookmarklet','_blank','menubar=no,height=390,width=600,toolbar=no,scrollbars=no,status=no,dialog=1' '&source=bookmarklet','_blank','menubar=no,height=390,width=600,toolbar=no,scrollbars=no,status=no,dialog=1'
); );
} }
)();"> )();"><b>✚Shaare link</b></a>
<b>✚Shaare link</b>
</a>
<a href="#" onclick="return alertBookmarklet();"> <a href="#" onclick="return alertBookmarklet();">
<span> <span>
&#x21D0; Drag this link to your bookmarks toolbar (or right-click it and choose Bookmark This Link....).<br> &#x21D0; Drag this link to your bookmarks toolbar (or right-click it and choose Bookmark This Link....).<br>
@ -41,9 +39,7 @@
</a><br><br> </a><br><br>
<a class="smallbutton" <a class="smallbutton"
onclick="return alertBookmarklet();" onclick="return alertBookmarklet();"
href="?private=1&amp;post="> href="?private=1&amp;post="><b>✚Add Note</b></a>
<b>✚Add Note</b>
</a>
<a href="#" onclick="return alertBookmarklet();"> <a href="#" onclick="return alertBookmarklet();">
<span> <span>
&#x21D0; Drag this link to your bookmarks toolbar (or right-click it and choose Bookmark This Link....).<br> &#x21D0; Drag this link to your bookmarks toolbar (or right-click it and choose Bookmark This Link....).<br>
@ -52,9 +48,7 @@
</a><br><br> </a><br><br>
{if="$sslenabled"} {if="$sslenabled"}
<a class="smallbutton" onclick="activateFirefoxSocial(this)"> <a class="smallbutton" onclick="activateFirefoxSocial(this)"><b>✚Add to Firefox social</b></a>
<b>✚Add to Firefox social</b>
</a>
<a href="#"> <a href="#">
<span>&#x21D0; Click on this button to add Shaarli to the "Share this page" button in Firefox.</span> <span>&#x21D0; Click on this button to add Shaarli to the "Share this page" button in Firefox.</span>
</a><br><br> </a><br><br>