aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-10-19 15:54:20 -0700
committerfriendica <info@friendica.com>2014-10-19 15:54:20 -0700
commite8be2ff8daff6c0acae69dff5138d1edc6ef87bb (patch)
tree733cd1140cb96e435feb97b06d6e6fbaec9094ed /include
parent7bbe700f3f170cc4527131165a9b9ab1f99e5cd1 (diff)
downloadvolse-hubzilla-e8be2ff8daff6c0acae69dff5138d1edc6ef87bb.tar.gz
volse-hubzilla-e8be2ff8daff6c0acae69dff5138d1edc6ef87bb.tar.bz2
volse-hubzilla-e8be2ff8daff6c0acae69dff5138d1edc6ef87bb.zip
wall-e random signature failures
Diffstat (limited to 'include')
-rw-r--r--include/html2bbcode.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/html2bbcode.php b/include/html2bbcode.php
index df430e6c7..6d6e6333b 100644
--- a/include/html2bbcode.php
+++ b/include/html2bbcode.php
@@ -283,8 +283,9 @@ function html2bbcode($message)
array('[b]', '[/b]', '[i]', '[/i]'), $message);
// Handling Yahoo style of mails
- $message = str_replace('[hr][b]From:[/b]', '[quote][b]From:[/b]', $message);
+ // $message = str_replace('[hr][b]From:[/b]', '[quote][b]From:[/b]', $message);
+ $message = htmlspecialchars($message,ENT_COMPAT,'UTF-8',false);
return(trim($message));
}