Разрешить HTML

MantisBT forum for users who prefer to ask and answer questions in Russian.

Moderators: Developer, Contributor

Post Reply
wazzart
Posts: 1
Joined: 20 Apr 2015, 14:00

Разрешить HTML

Post by wazzart »

Здравствуйте!

Подскажите пожалуйста как разрешить HTML код в сообщениях, что бы вообще не было ограничений.

Пример как отображается сейчас в аттаче.
Attachments
screan.png
screan.png (38.25 KiB) Viewed 8113 times
Kirill
Posts: 638
Joined: 25 Nov 2007, 08:05
Location: Kaliningrad, RF
Contact:

Re: Разрешить HTML

Post by Kirill »

Code: Select all

/**
 * These are the valid html tags for multi-line fields (e.g. description)
 * do NOT include a or img tags here
 * do NOT include tags that require attributes
 * @global string $g_html_valid_tags
 */
$g_html_valid_tags = 'p, li, ul, ol, br, pre, i, b, u, em, strong';

/**
 * These are the valid html tags for single line fields (e.g. issue summary).
 * do NOT include a or img tags here
 * do NOT include tags that require attributes
 * @global string $g_html_valid_tags_single_line
 */
$g_html_valid_tags_single_line = 'i, b, u, em, strong';
 
Post Reply