mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
Use newlines in comments.
This commit is contained in:
parent
567c2236db
commit
f38b9daebd
@ -33,7 +33,7 @@ class Commenting {
|
|||||||
'comment_permalink_prefix' => "comment-", // id prefix for each comment. If needed make this different
|
'comment_permalink_prefix' => "comment-", // id prefix for each comment. If needed make this different
|
||||||
'require_moderation' => false,
|
'require_moderation' => false,
|
||||||
'html_allowed' => false, // allow for sanitized HTML in comments
|
'html_allowed' => false, // allow for sanitized HTML in comments
|
||||||
'html_allowed_elements' => array('p', 'br', 'a', 'img', 'i', 'b'),
|
'html_allowed_elements' => array('a', 'img', 'i', 'b'),
|
||||||
'use_preview' => false, // preview formatted comment (when allowing HTML)
|
'use_preview' => false, // preview formatted comment (when allowing HTML)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ The module provides a number of built in configuration settings below are the de
|
|||||||
'comment_permalink_prefix' => "comment-",
|
'comment_permalink_prefix' => "comment-",
|
||||||
'require_moderation' => false,
|
'require_moderation' => false,
|
||||||
'html_allowed' => false, // allow for sanitized HTML in comments
|
'html_allowed' => false, // allow for sanitized HTML in comments
|
||||||
'html_allowed_elements' => array('p', 'br', 'a', 'img', 'i', 'b'),
|
'html_allowed_elements' => array('a', 'img', 'i', 'b'),
|
||||||
'use_preview' => false, // preview formatted comment (when allowing HTML)
|
'use_preview' => false, // preview formatted comment (when allowing HTML)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user