Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync-template trashes GitHub expressions #18

Open
sellout opened this issue Nov 12, 2023 · 0 comments
Open

sync-template trashes GitHub expressions #18

sellout opened this issue Nov 12, 2023 · 0 comments
Labels
bug Something isn’t working

Comments

@sellout
Copy link
Owner

sellout commented Nov 12, 2023

GitHub expressions look like ${{ <expression> }}. sync-template uses Mustache to populate the template, which replaces {{…}}. This results in any GitHub expressions in the template being turned into $, which doesn’t work.

Some options

  • escape non-Mustache {{ somehow so they end up as {{ in the finished template;
  • have Mustache ignore {{…}} that doesn’t contain a known value (rather than using the empty string); or
  • use a different templating system than Mustache.
@sellout sellout added the bug Something isn’t working label Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn’t working
Projects
None yet
Development

No branches or pull requests

1 participant