You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When adding a locale that has html content inside, the theme check highlights it as an error, even though it works as expected in liquid.
When combining _html postfix to render the locale string as HTML, and a plural, the linting gets confused.
@mgmanzella that's not really a solution.
While this does make the theme-check happy, removing the _html suffix will result in the html inside the translation-strings being escaped.
Can you elaborate on how to achieve pluralized translations containing html, while making the theme-check happy?
Or perhaps reopen the issue.
👋 thanks for the clarification, you're right and the fix for this would be a change in theme liquid docs to add this use case in the schema that validates this json
Describe the bug
When adding a locale that has html content inside, the theme check highlights it as an error, even though it works as expected in liquid.
When combining
_html
postfix to render the locale string as HTML, and a plural, the linting gets confused.locale
liquid
The CLI theme check works as expected, resulting in no errors
Expected behaviour
The VS code extension's theme check should work the same as the CLI
Actual behaviour
False negative is thrown
Debugging information
shopify.theme-check-vscode
Shopify Liquid v2.3.2
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: