diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2010-08-13 15:29:56 -0400 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2010-08-13 15:29:56 -0400 |
commit | 07be6bd4ac8e85b3c940abcd4b4d4a70a3d93593 (patch) | |
tree | 46c4dc40daa3b97ab1f48fd0ce0c93ca2072f601 | |
parent | b18a1c0a1fb282ab47034e52025c9e88ea4d8453 (diff) | |
download | fourisland-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.
-rwxr-xr-x | includes/parsers.php | 1 |
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 | ||
28 | function parseText($text) | 28 | function 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); |