mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #31707
[Bug 1520011] Re: copying and pasting text with quots is displaying as '" Note" '
In some places, eg feedback on a page, the message for the email is saved in the db all escaped so
& = &
" = "
etc
But when we go to display it we escape it again so
& = &
" = "quot;
We need to unescape the string before re-escaping and displaying it to
avoid double escape
--
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/1520011
Title:
copying and pasting text with quots is displaying as
'"Note"'
Status in Mahara:
In Progress
Bug description:
1. I was testing bug #1516412 to trigger the copy and paste message
2. I copied the text in the bug report and posted it in one of my pages called that page
3. The text looked fine on the dashboard
3. I saw a notification so I proceeded to check
4 I realised it was the the text that I copied from the bug report but the quotes around the text and had disappeared and displaying this instead: "Note".
Please see then attached screen shot.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1520011/+subscriptions
References