diff --git a/docs/javascript.html b/docs/javascript.html
index a60c4df7f2..48e07485ad 100644
--- a/docs/javascript.html
+++ b/docs/javascript.html
@@ -1169,10 +1169,10 @@ $('#myTooltip').on('hidden.bs.tooltip', function () {
Live demo
-
{% highlight html %}
-Click to toggle popover
+Click to toggle popover
{% endhighlight %}
Four directions
@@ -1214,10 +1214,10 @@ sagittis lacus vel augue laoreet rutrum faucibus.">
Dismiss on next click
Use the focus
trigger to dismiss popovers on their next click.
- Dismissable popover
+ Dismissable popover
{% highlight html %}
-Dismissable popover
+Dismissable popover
{% endhighlight %}
{% highlight js %}
$('.popover-dismiss').popover({