diff --git a/code/Commenting.php b/code/Commenting.php index 95e2928..d2528c7 100644 --- a/code/Commenting.php +++ b/code/Commenting.php @@ -33,7 +33,7 @@ class Commenting { 'comment_permalink_prefix' => "comment-", // id prefix for each comment. If needed make this different 'require_moderation' => false, '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) ); diff --git a/docs/en/Configuration.md b/docs/en/Configuration.md index 5a56210..d97b4e9 100644 --- a/docs/en/Configuration.md +++ b/docs/en/Configuration.md @@ -17,7 +17,7 @@ The module provides a number of built in configuration settings below are the de 'comment_permalink_prefix' => "comment-", 'require_moderation' => false, '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) );