← Back to team overview

mahara-contributors team mailing list archive

[Bug 1271420] [NEW] Duplicate newlines in forum post notifications if you turn off the HTML editor

 

Public bug reported:

To replicate:

1. Go to your user account settings and turn the HTML editor off
2. Set the forum post delay to 0 minutes (to make testing quicker)
3. Make a forum post that runs across multiple newlines.
4. Look in your Inbox, and look at the email you receive

Expected result: You should see one newline in the message for each newline in the original post
Actual result: You'll see two newlines in the message for each one in the original post.

This does not seem to happen when the HTML editor (TinyMCE) is active.
Possibly TinyMCE strips out the newlines from the text before saving it.

** Affects: mahara
     Importance: Low
         Status: Confirmed


** Tags: forums notifications

** Tags added: forums notifications

** Changed in: mahara
    Milestone: None => 1.9.0

** Changed in: mahara
   Importance: Undecided => Low

** Changed in: mahara
       Status: New => Confirmed

-- 
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/1271420

Title:
  Duplicate newlines in forum post notifications if you turn off the
  HTML editor

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  To replicate:

  1. Go to your user account settings and turn the HTML editor off
  2. Set the forum post delay to 0 minutes (to make testing quicker)
  3. Make a forum post that runs across multiple newlines.
  4. Look in your Inbox, and look at the email you receive

  Expected result: You should see one newline in the message for each newline in the original post
  Actual result: You'll see two newlines in the message for each one in the original post.

  This does not seem to happen when the HTML editor (TinyMCE) is active.
  Possibly TinyMCE strips out the newlines from the text before saving
  it.

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


Follow ups

References