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

Cli integration raises HTML validation error #278

Open
WuMingIT opened this issue Nov 11, 2023 · 1 comment
Open

Cli integration raises HTML validation error #278

WuMingIT opened this issue Nov 11, 2023 · 1 comment

Comments

@WuMingIT
Copy link

WuMingIT commented Nov 11, 2023

Small 20 kB .html opens just fine with Safari and Firefox. Despite that mustache cli raises an error:

/usr/local/lib/ruby/gems/3.1.0/gems/mustache-1.1.1/lib/mustache/parser.rb:286:in `error': Unclosed tag (Mustache::Parser::SyntaxError)

Since .html is fine I don't really care about validation, just need tags being replaced. Any way I can achieve that?

@WuMingIT
Copy link
Author

WuMingIT commented Nov 15, 2023

File was generated with delimiters separated from keywords by html tags:

{{</span></span></font></font><font face="Times New Roman, serif"><font size="3" style="font-size: 12pt"><span lang="it-IT"><span style="font-weight: normal">KEYWORD</span></span></font></font><font face="Times New Roman, serif"><font size="3" style="font-size: 12pt"><span lang="it-IT"><span style="font-weight: normal">}}

so mustache entire tag was not recognized. Removing the extra tags it now works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant