- added to FunctionBase: bool register_default_models (default true)
if true then winix will add default models for ezc templates such as "request", "item", etc. - some methods from templates/item.cpp moved to Item
This commit is contained in:
@@ -58,6 +58,13 @@ void HtmlTextStream::clear()
|
||||
}
|
||||
|
||||
|
||||
void HtmlTextStream::to_str(std::wstring & str)
|
||||
{
|
||||
str = TextStream<std::wstring>::Str();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
without escaping
|
||||
@@ -253,6 +260,11 @@ HtmlTextStream & HtmlTextStream::operator<<(RawText<pt::Date> raw)
|
||||
}
|
||||
|
||||
|
||||
HtmlTextStream & HtmlTextStream::operator<<(const HtmlTextStream & stream)
|
||||
{
|
||||
TextStream<std::wstring>::operator<<(stream.Str());
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user