diff --git a/js/test.js b/js/test.js
index a283275f..5e4d3c39 100644
--- a/js/test.js
+++ b/js/test.js
@@ -140,5 +140,20 @@ describe('helper', function () {
}
);
});
+
+ describe('htmlEntities', function () {
+ after(function () {
+ cleanup();
+ });
+
+ jsc.property(
+ 'removes all HTML entities from any given string',
+ 'string',
+ function (string) {
+ var result = $.PrivateBin.helper.htmlEntities(string);
+ return !(/[<>"'`=\/]/.test(result)) && !(string.indexOf('&') > -1 && !(/&/.test(result)));
+ }
+ );
+ });
});
diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php
index 041b5698..668b2e91 100644
--- a/tpl/bootstrap.php
+++ b/tpl/bootstrap.php
@@ -69,7 +69,7 @@ if ($MARKDOWN):
-
+
diff --git a/tpl/page.php b/tpl/page.php
index 3aab3d69..362e8878 100644
--- a/tpl/page.php
+++ b/tpl/page.php
@@ -47,7 +47,7 @@ if ($MARKDOWN):
-
+