mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #02869
[Bug 725634] Re: text box strip away href and name attribute
Hi Shin,
I have added this to lib/web.php:clean_html():
$config->set('Attr.EnableID', true);
$config->set('Attr.IDPrefix', 'user_');
as suggested on:
http://htmlpurifier.org/docs/enduser-id.html
Does that solve your problem? (I have attached the patch I committed to
master.)
Cheers,
Francois
** Patch added: "Allow namespaced IDs"
https://bugs.launchpad.net/mahara/+bug/725634/+attachment/1877564/+files/namespaced_ids.patch
** Changed in: mahara
Status: Triaged => Fix Committed
** Changed in: mahara
Assignee: (unassigned) => François Marier (fmarier)
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/725634
Title:
text box strip away href and name attribute
Status in Mahara ePortfolio:
Fix Committed
Bug description:
I think this could be a bug.
When I add links and save it in a text box, it strips away href and name attributes.
It should be able to create a link in text box, isn't it?
References