Open andersk opened 2 years ago
I've marked this as a good first issue, though it is a bit more involved. Basically, we currently have a single stack for all tags, both html and handlebars. We need to add a separate stack for handlebars.
Can you assign me to that issue?
@eltonls You are welcome to work on this. There are few enough contributors that assign issues is not useful.
if this issue is open can you assign it to me.
@Meesujit
We do not assign issues. There are few enough contributors that assign issues is not useful. Also, people ask for assignment and then never work on the issue. Please feel free to work on this and submit a PR.
Description
Zulip defines a custom Handlebars helper
{{#tr}}
for translation, but when it happens to be used inside a table cell, js-beautify seemingly confuses it with a<tr>
(table row) tag and indents it at the wrong level.Input
The code looked like this before beautification:
Expected Output
The code should have looked like this after beautification:
Actual Output
The code actually looked like this after beautification:
Steps to Reproduce
html-beautify -H test.hbs
Environment
OS: Linux
Settings
None