Closed microalps closed 1 year ago
Patch coverage: 100.00
% and no project coverage change.
Comparison is base (
b2fe268
) 88.34% compared to head (37500e9
) 88.34%.:exclamation: Current head 37500e9 differs from pull request most recent head 8c472ce. Consider uploading reports for the commit 8c472ce to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
The solution is a bit hackish because the following filter is silently ignored:
{% param Syntax = 'DotLiquid21' | replace: '21', '10' %}
I don't think we want to support filters here. Simple trim will pass entire string with filters to context, which will obviously fail but without any error handling or messaging that filters are not supported. Suggestions?
The solution is a bit hackish because the following filter is silently ignored:
{% param Syntax = 'DotLiquid21' | replace: '21', '10' %}
I don't think we want to support filters here. Simple trim will pass entire string with filters to context, which will obviously fail but without any error handling or messaging that filters are not supported. Suggestions?
With simple string trim {% param Syntax = 'DotLiquid21' | replace: '21', '10' %}
will turn into {% param Syntax = 'DotLiquid21' | replace: '21', '10'%}
, yes?
What error does user get with this unsupported filter?
Are there scenarios where string trim doesn't fix a whitespace issue but the ().Name hack does fix?
@daviburg
What error does user get with this unsupported filter?
Liquid syntax error: Invalid syntax option: 'DotLiquid21' | r...
Are there scenarios where string trim doesn't fix a whitespace issue but the ().Name hack does fix?
Not that I know of. Reran the tests, they all passed.
@daviburg
What error does user get with this unsupported filter?
Liquid syntax error: Invalid syntax option: 'DotLiquid21' | r...
Are there scenarios where string trim doesn't fix a whitespace issue but the ().Name hack does fix?
Not that I know of. Reran the tests, they all passed.
Then string trim seems a pretty clean option.
Resolves #496