diff --git a/e107_plugins/tinymce/plugins/e107bbcode/dialog.php b/e107_plugins/tinymce/plugins/e107bbcode/dialog.php
index 4078931c7..9a468e3b3 100644
--- a/e107_plugins/tinymce/plugins/e107bbcode/dialog.php
+++ b/e107_plugins/tinymce/plugins/e107bbcode/dialog.php
@@ -43,7 +43,7 @@ $(document).ready(function()
var buttonClass = (buttonType != '') ? 'btn-'+buttonType : '';
- var html = '' + buttonText + '';
+ var html = '' + buttonText + ' ';
// alert(html);
tinyMCEPopup.editor.execCommand('mceInsertContent', false, html);
tinyMCEPopup.close();