aboutsummaryrefslogtreecommitdiffstats
path: root/include/bb2diaspora.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-10-31 21:48:00 -0700
committerzotlabs <mike@macgirvin.com>2016-10-31 21:48:00 -0700
commit863ee9e6dd890d49602b67b9ffbed1bab816b54c (patch)
tree64c30209d0a82261506de378462f0fcc147c6274 /include/bb2diaspora.php
parent4ebd604ca99cbeb11b695eee0a3387972fde88bb (diff)
downloadvolse-hubzilla-863ee9e6dd890d49602b67b9ffbed1bab816b54c.tar.gz
volse-hubzilla-863ee9e6dd890d49602b67b9ffbed1bab816b54c.tar.bz2
volse-hubzilla-863ee9e6dd890d49602b67b9ffbed1bab816b54c.zip
bbcode event formatting issue
Diffstat (limited to 'include/bb2diaspora.php')
-rw-r--r--include/bb2diaspora.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php
index 514b2b339..da02d6cac 100644
--- a/include/bb2diaspora.php
+++ b/include/bb2diaspora.php
@@ -449,6 +449,8 @@ function bb2diaspora($Text,$preserve_nl = false, $fordiaspora = true) {
$md = new Markdownify(false, false, false);
$Text = $md->parseString($Text);
+
+
// It also adds backslashes to our attempt at getting around the html entity preservation for some weird reason.
$Text = str_replace(array('&\\_lt\\_;','&\\_gt\\_;','&\\_amp\\_;'),array('&lt;','&gt;','&amp;'),$Text);