diff --git a/docs/templates/pages/javascript.mustache b/docs/templates/pages/javascript.mustache
index eaa7422308..809e34ce9c 100644
--- a/docs/templates/pages/javascript.mustache
+++ b/docs/templates/pages/javascript.mustache
@@ -747,7 +747,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
{{_i}}placement{{/i}} |
- {{_i}}string|function{{/i}} |
+ {{_i}}string | function{{/i}} |
'top' |
{{_i}}how to position the tooltip{{/i}} - top | bottom | left | right |
@@ -907,7 +907,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
{{_i}}placement{{/i}} |
- {{_i}}string|function{{/i}} |
+ {{_i}}string | function{{/i}} |
'right' |
{{_i}}how to position the popover{{/i}} - top | bottom | left | right |