mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #14325
[Bug 1240746] Re: Plans page displaying 1 block of text when I used 3 paragraphs
The problem here looks to be this:
The description textarea boxes in the edit form for plans / tasks does
not use tinymce so the text saved does not contain paragraph html.
But tinymce is probably overkill for these description boxes - we might
swap them to tinymce at a later date - but to fix for 1.8 I've added a
preg_replace to swap \n\n to <p> tags.
I've also got it escaping text before saving to db so that we can treat
it as safe when displaying the text.
https://reviews.mahara.org/#/c/2620/
--
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/1240746
Title:
Plans page displaying 1 block of text when I used 3 paragraphs
Status in Mahara ePortfolio:
Triaged
Bug description:
The Content -> Plans page is displaying one solid block of text - I
used 3 paragraphs when I created the page and I expected to see 3
paragraphs when viewing the page
See Attachment for more details
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1240746/+subscriptions
References