Skip to content

Commit a4945b5

Browse files
author
Till Brehm
committed
Filter HTML tags in FAQ questions when admin adds FAQ articles as HTML is required for answers only.
1 parent b6b1666 commit a4945b5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

interface/web/help/form/faq.tform.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,12 @@
7979
'errmsg'=> 'subject_is_empty'
8080
),
8181
),
82+
'filters' => array(
83+
0 => array( 'event' => 'SAVE',
84+
'type' => 'STRIPTAGS'),
85+
1 => array( 'event' => 'SAVE',
86+
'type' => 'STRIPNL')
87+
),
8288
'default' => '',
8389
'value' => '',
8490
'width' => '30',

0 commit comments

Comments
 (0)