BBCODEParser has been moved to pikotools library
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
#include "core/crypt.h"
|
||||
#include "core/misc.h"
|
||||
#include "templates/misc.h"
|
||||
#include "core/bbcodeparser.h"
|
||||
#include "html/bbcodeparser.h"
|
||||
#include "core/request.h"
|
||||
#include "core/users.h"
|
||||
#include "core/groups.h"
|
||||
@@ -414,7 +414,7 @@ void ItemContent::print_content(HtmlTextStream & out, const pt::WTextStream & co
|
||||
out_temp.clear();
|
||||
out_temp.reserve(content.size()*2);
|
||||
|
||||
BBCODEParser bbcode_parser; // IMPROVE ME move me to a better place
|
||||
pt::BBCODEParser bbcode_parser; // IMPROVE ME move me to a better place
|
||||
std::wstring tmp_string;
|
||||
content.to_str(tmp_string);
|
||||
bbcode_parser.Filter(tmp_string.c_str(), out_temp);
|
||||
@@ -455,7 +455,7 @@ void ItemContent::print_content(HtmlTextStream & out, const std::wstring & conte
|
||||
out_temp.clear();
|
||||
out_temp.reserve(content.size()*2);
|
||||
|
||||
BBCODEParser bbcode_parser; // IMPROVE ME move me to a better place
|
||||
pt::BBCODEParser bbcode_parser; // IMPROVE ME move me to a better place
|
||||
bbcode_parser.Filter(content.c_str(), out_temp);
|
||||
out << R(out_temp);
|
||||
}
|
||||
|
Reference in New Issue
Block a user