updated to the new pikotools api (api2021): HTMLFilter renamed to HTMLParser

added to config: int html_filter_white_char_mode;
  how white characters between html tags are treated
  0 - WHITE_MODE_ORIGIN - they are copied from input to output
  1 - WHITE_MODE_SINGLE_LINE - new line characters are removed
  2 - WHITE_MODE_TREE - try to create a tree (some kind of pretty printing)
  default: 2
This commit is contained in:
2021-08-07 02:16:48 +02:00
parent 22134b6cc0
commit b424988d1b
22 changed files with 369 additions and 175 deletions

View File

@@ -50,7 +50,7 @@
#include "core/cur.h"
#include "core/system.h"
#include "core/sessionmanager.h"
#include "html/htmlfilter.h"
#include "html/htmlparser.h"
#include "db/db.h"
#include "core/winixrequest.h"
@@ -79,7 +79,7 @@ namespace TemplatesFunctions
extern Locale locale;
extern EzcFun ezc_functions;
extern LocaleFilter locale_filter;
extern pt::HTMLFilter html_filter;
extern pt::HTMLParser html_filter;
extern Ezc::Stack empty_stack;
extern Db * db;