From f38b9daebdd230496ca2232588b79775423ad4e5 Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Tue, 5 Mar 2013 21:37:00 +1300 Subject: [PATCH] Use newlines in comments. --- code/Commenting.php | 2 +- docs/en/Configuration.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) );