mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-09-14 19:29:55 +00:00
do not replace space to nbsp in some cases (#143)
This commit is contained in:
@ -36,7 +36,7 @@ QString AWPatternFunctions::expandLambdas(QString _code, AWKeysAggregator *_aggr
|
||||
// parsed values
|
||||
for (auto &lambdaKey : _usedKeys)
|
||||
_code.replace(QString("$%1").arg(lambdaKey),
|
||||
_aggregator->formatter(_metadata[lambdaKey], lambdaKey));
|
||||
_aggregator->formatter(_metadata[lambdaKey], lambdaKey, false));
|
||||
qCInfo(LOG_AW) << "Expression" << _code;
|
||||
QJSValue result = engine.evaluate(_code);
|
||||
if (result.isError()) {
|
||||
|
Reference in New Issue
Block a user