33#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
34 auto expr = tagContent.split(QLatin1Char(
' '), QString::SkipEmptyParts);
36 auto expr = tagContent.split(QLatin1Char(
' '), Qt::SkipEmptyParts);
41 auto expression = expr.join(QChar::fromLatin1(
' '));
44 auto filters = fe.filters();
45 if (filters.contains(QStringLiteral(
"safe"))
46 || filters.contains(QStringLiteral(
"escape"))) {
48 TagSyntaxError, QStringLiteral(
"Use the \"autoescape\" tag instead."));
53 auto filterNodes = p->
parse(n, QStringLiteral(
"endfilter"));
56 n->setNodeList(filterNodes);
The Context class holds the context to render a Template with.
void insert(const QString &name, QObject *object)