mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Fix #1761 don't filter target="_self" in HTMLPurifier
This commit is contained in:
parent
aab7ab851e
commit
9127e17b2e
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ class HTMLFilter
|
|||
|
||||
// Customize the default configuration.
|
||||
$config->set('Attr.AllowedClasses', $allowed_classes);
|
||||
$config->set('Attr.AllowedFrameTargets', array('_blank'));
|
||||
$config->set('Attr.AllowedFrameTargets', array('_blank', '_self'));
|
||||
$config->set('Attr.DefaultImageAlt', '');
|
||||
$config->set('Attr.EnableID', true);
|
||||
$config->set('Attr.IDPrefix', 'user_content_');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue