← Back to team overview

mahara-contributors team mailing list archive

[Bug 1695118] [NEW] Displaying image via data base64

 

Public bug reported:

The HTMLpurifier does not allow base64 image files to be displayed.

The clean_html() function strips them out, which is annoying if you
upload an .html file that contains the base64 images as the html will
not display as expected in the HTML block

This fix for that sounds easy enough to add so I will

https://stackoverflow.com/questions/26524222/how-can-i-configure-html-
purifier-to-allow-data-uris-for-image-src#26537423

** Affects: mahara
     Importance: Wishlist
     Assignee: Robert Lyon (robertl-9)
         Status: In Progress

-- 
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/1695118

Title:
  Displaying image via data base64

Status in Mahara:
  In Progress

Bug description:
  The HTMLpurifier does not allow base64 image files to be displayed.

  The clean_html() function strips them out, which is annoying if you
  upload an .html file that contains the base64 images as the html will
  not display as expected in the HTML block

  This fix for that sounds easy enough to add so I will

  https://stackoverflow.com/questions/26524222/how-can-i-configure-html-
  purifier-to-allow-data-uris-for-image-src#26537423

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


Follow ups