summary refs log tree commit diff stats
path: root/includes/parsers.php
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2010-08-13 15:29:56 -0400
committerStarla Insigna <hatkirby@fourisland.com>2010-08-13 15:29:56 -0400
commit07be6bd4ac8e85b3c940abcd4b4d4a70a3d93593 (patch)
tree46c4dc40daa3b97ab1f48fd0ce0c93ca2072f601 /includes/parsers.php
parentb18a1c0a1fb282ab47034e52025c9e88ea4d8453 (diff)
downloadfourisland-07be6bd4ac8e85b3c940abcd4b4d4a70a3d93593.tar.gz
fourisland-07be6bd4ac8e85b3c940abcd4b4d4a70a3d93593.tar.bz2
fourisland-07be6bd4ac8e85b3c940abcd4b4d4a70a3d93593.zip
Added HTML quoting to parsing process
Because HTML quoting was not done, text in between angle brackets would disappear because it would be thought that they were real.
Diffstat (limited to 'includes/parsers.php')
-rwxr-xr-xincludes/parsers.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/parsers.php b/includes/parsers.php index b7dd869..86284af 100755 --- a/includes/parsers.php +++ b/includes/parsers.php
@@ -27,6 +27,7 @@ include('includes/smilies.php');
27 27
28function parseText($text) 28function parseText($text)
29{ 29{
30 $text = htmlspecialchars($text);
30 $text = parseBBCode($text); 31 $text = parseBBCode($text);
31 $text = parseSmilies($text); 32 $text = parseSmilies($text);
32 $text = doAprilFoolsDay($text); 33 $text = doAprilFoolsDay($text);