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

[Bug report] Unclosed tag #23

Closed
skipkayhil opened this issue Oct 19, 2024 · 1 comment
Closed

[Bug report] Unclosed tag #23

skipkayhil opened this issue Oct 19, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@skipkayhil
Copy link

Describe the bug

/home/hartley/.cache/asdf/installs/ruby/3.3.3/lib/ruby/gems/3.3.0/gems/mustache-1.1.1/lib/mustache/parser.rb:286:in `error': Unclosed tag (Mustache::Parser::SyntaxError)
  Line 58
    set-window-option -g window-status-current-format "#[fg=#{{base01-hex}},bg=#{{base0A-hex}},nobold,noitalics,nounderscore]#[fg=#{{base02-hex}},bg=#{{base0A-hex}}] #I #[fg=#{{base02-hex}},bg=#{{base0A-hex}},bold] #W#{{?window_zoomed_flag,*Z,}} #[fg=#{{base0A-hex}},bg=#{{base01-hex}},nobold,noitalics,nounderscore]"
                                                                                                                                                                                                                                                    ^

Expected behavior

mustache can compile the template

Additional context

It looks like {{?window_zoomed_flag,*Z,}} just get ignored by the Mustache that's used to generate colors. Should it just be removed so that Mustache in Ruby can compile the template? Happy to open a PR but I don't use this repo, I'm just trying to build it

@JamyGolden
Copy link
Member

Thanks for creating the issue. I've created a PR which will fix this: #24

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

3 participants