aboutsummaryrefslogtreecommitdiff
path: root/src/globals.php
diff options
context:
space:
mode:
authorCassio de Campos <cassiopc@gmail.com>2018-09-05 20:07:08 +0000
committerCassio de Campos <cassiopc@gmail.com>2018-09-05 20:07:08 +0000
commit6302826d53cc12f731c41915a47c6c19f65743cf (patch)
tree3234edb033355e28525d01deb7a36a1470190b53 /src/globals.php
parent034545b62ea8e7e10d544b40e1bb78778a874f71 (diff)
downloadboca-6302826d53cc12f731c41915a47c6c19f65743cf.tar.gz
boca-6302826d53cc12f731c41915a47c6c19f65743cf.zip
fix some printing issues
Diffstat (limited to 'src/globals.php')
-rwxr-xr-xsrc/globals.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/globals.php b/src/globals.php
index 80f79df..ae11a13 100755
--- a/src/globals.php
+++ b/src/globals.php
@@ -227,6 +227,8 @@ function sanitizeFilename($text)
function unsanitizeText($text) {
$text = str_replace("&lt;", "<", $text);
$text = str_replace("&gt;", ">", $text);
+ $text = str_replace("&#39;", "'", $text);
+ $text = str_replace("&#96;", "`", $text);
$text = str_replace("&amp;", "&", $text);
return $text;
}