mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-29 23:32:54 +09:00
Merge pull request #521 from kijin/pr/allow-id-in-html
사용자가 작성한 HTML 콘텐츠 중 일부 id 속성을 허용
This commit is contained in:
commit
6f527cc2ad
2 changed files with 15 additions and 3 deletions
|
|
@ -106,7 +106,8 @@ class HTMLFilter
|
|||
// Customize the default configuration.
|
||||
$config->set('Attr.AllowedFrameTargets', array('_blank'));
|
||||
$config->set('Attr.DefaultImageAlt', '');
|
||||
$config->set('Attr.EnableID', false);
|
||||
$config->set('Attr.EnableID', true);
|
||||
$config->set('Attr.IDPrefix', 'user_content_');
|
||||
$config->set('AutoFormat.AutoParagraph', false);
|
||||
$config->set('AutoFormat.DisplayLinkURI', false);
|
||||
$config->set('AutoFormat.Linkify', false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue