← Back to team overview

mahara-contributors team mailing list archive

[Bug 1265049] A change has been merged

 

Reviewed:  https://reviews.mahara.org/3122
Committed: http://gitorious.org/mahara/mahara/commit/1d6a174a8b8e9332f5b3f8ec7971e134e8346d83
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    1.8_STABLE

commit 1d6a174a8b8e9332f5b3f8ec7971e134e8346d83
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Tue Dec 31 08:31:40 2013 +1300

Stripping out escaped <br> from inbox messages (Bug #1265049)

Problem with previous preg_replace regex was it only dealt with things
at the beginning of a line, whereas the extra <br> was at the end of
the lines.

Moved the preg_replace for <br> to be doen first.

Change-Id: Ie8ae09bf0981758f37cbe098be509f6a8540c325
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1265049

Title:
  forum post notifications have escaped <br> in message in inbox

Status in Mahara ePortfolio:
  Fix Committed
Status in Mahara 1.8 series:
  Fix Committed
Status in Mahara 1.9 series:
  Fix Committed

Bug description:
  For some of the notifications in the inbox
  (account/activity/index.php) the message has escaped <br> tags.

  For example a new forum post notification has output to the screen
  like:

  Re: Topic1
  Top of the morning to you!<br />
  <br />
  How is the weather today?<br />
  <br />
  Raining still :(

  where the <br /> is actually &lt;br /&gt; in the html code.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1265049/+subscriptions


References