← Back to team overview

mahara-contributors team mailing list archive

[Bug 711038] Re: Account suspension message displays HTML code

 

The clean_html function shouldn't be doing any html escaping, it should
just be stripping out nasty elements.

I just tried to reproduce this bug on master and can't see the
blockquote tags - I tried logging in as a suspended user and they didn't
appear.  Can't see them in the email either.

Kristina, what page does this bug appear on?

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/711038

Title:
  Account suspension message displays HTML code

Status in Mahara ePortfolio:
  Triaged

Bug description:
  found on master.dev

  When a suspended user tries to access his account, the following
  message is shown:

  Your account has been suspended as of 2011-02-01 14:24:35. The reason
  for your suspension is:<blockquote>Spam suspect. If you think that is
  not correct, please contact us.</blockquote>

  The blockquotes are not translated correctly because the HTML code is
  displayed.


References