← Back to team overview

mahara-contributors team mailing list archive

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

 

Public bug reported:

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.

** Affects: mahara
     Importance: Undecided
         Status: New

-- 
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:
  New

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


Follow ups

References