diff --git a/js/test.js b/js/test.js
index a283275..5e4d3c3 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 041b569..668b2e9 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 3aab3d6..362e887 100644
--- a/tpl/page.php
+++ b/tpl/page.php
@@ -47,7 +47,7 @@ if ($MARKDOWN):
-
+