commented some method calls to html_filter

This commit is contained in:
Tomasz Sowa 2021-07-26 03:54:02 +02:00
parent f861c0761e
commit 22134b6cc0
2 changed files with 4 additions and 4 deletions

View File

@ -601,9 +601,9 @@ void Functions::ReadItemUrlSubject(Item & item, Item::Type item_type)
void Functions::ReadItemFilterHtml(Item & item) void Functions::ReadItemFilterHtml(Item & item)
{ {
html_filter.BreakWord(0); //html_filter.BreakWord(0);
html_filter.WrapLine(0); html_filter.WrapLine(0);
html_filter.TrimWhite(false); //html_filter.TrimWhite(false);
html_filter.InsertTabs(0); html_filter.InsertTabs(0);
html_filter.SafeMode(true); html_filter.SafeMode(true);
html_filter.ClearOrphans(); html_filter.ClearOrphans();

View File

@ -764,8 +764,8 @@ void Templates::SetHtmlFilter()
{ {
using namespace TemplatesFunctions; using namespace TemplatesFunctions;
html_filter.TrimWhite(config->html_filter_trim_white); //html_filter.TrimWhite(config->html_filter_trim_white);
html_filter.BreakWord(config->html_filter_break_word); //html_filter.BreakWord(config->html_filter_break_word);
html_filter.WrapLine(config->html_filter_wrap_line); html_filter.WrapLine(config->html_filter_wrap_line);
html_filter.InsertTabs(config->html_filter_tabs); html_filter.InsertTabs(config->html_filter_tabs);
html_filter.SetNoFilterTag(config->html_filter_nofilter_tag); html_filter.SetNoFilterTag(config->html_filter_nofilter_tag);