aboutsummaryrefslogtreecommitdiffstats
path: root/include/msgclean.php
diff options
context:
space:
mode:
authorMichael Vogel <icarus@dabo.de>2012-03-17 11:07:49 +0100
committerMichael Vogel <icarus@dabo.de>2012-03-17 11:07:49 +0100
commit8a1f175df022e2fc2c2162aa314ea34454482d48 (patch)
tree08daca362b42d402322787f4e69810c2999ff791 /include/msgclean.php
parentb5120888cf6e3aac29aa2a8d80bddcab73822e1e (diff)
downloadvolse-hubzilla-8a1f175df022e2fc2c2162aa314ea34454482d48.tar.gz
volse-hubzilla-8a1f175df022e2fc2c2162aa314ea34454482d48.tar.bz2
volse-hubzilla-8a1f175df022e2fc2c2162aa314ea34454482d48.zip
New bbcode element: "spoiler". Mail: Top post quotes are now embraced in "spoiler" elements
Diffstat (limited to 'include/msgclean.php')
-rw-r--r--include/msgclean.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/msgclean.php b/include/msgclean.php
index 284ad1ce4..eabb47788 100644
--- a/include/msgclean.php
+++ b/include/msgclean.php
@@ -13,7 +13,7 @@ function savereplace($pattern, $replace, $text)
function unifyattributionline($message)
{
- $quotestr = array('quote', 'collapsed');
+ $quotestr = array('quote', 'spoiler');
foreach ($quotestr as $quote) {
$message = savereplace('/----- Original Message -----\s.*?From: "([^<"].*?)" <(.*?)>\s.*?To: (.*?)\s*?Cc: (.*?)\s*?Sent: (.*?)\s.*?Subject: ([^\n].*)\s*\['.$quote.'\]/i', "[".$quote."='$1']\n", $message);