← Back to team overview

mahara-contributors team mailing list archive

[Bug 915199] Re: Admin WYSIWYG strip HTML code manually added by admin

 

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

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

** Tags added: admin htmlpurifier tinymce

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

Title:
  Admin WYSIWYG strip HTML code manually added by admin

Status in Mahara ePortfolio:
  Triaged

Bug description:
  Mahara version 1.4.1
  Linus Centos6
  Database Postgresql 8

  
  When admin modify site pages using WYSIWYG TinyMCE, HTML purifier strip this code when page is generated to end user. 

  Workaround:
  in htdocs/theme/raw/templates/index.tpl:
  -> replace line {$page_content|clean_html|safe}
  -> by {$page_content|safe}

  This modification seems to be unsafe and subject to discussion.

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


References