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

Contents of hbs tags are converted to lowercase #1464

Closed
astronomersiva opened this issue Jul 31, 2018 · 1 comment
Closed

Contents of hbs tags are converted to lowercase #1464

astronomersiva opened this issue Jul 31, 2018 · 1 comment
Milestone

Comments

@astronomersiva
Copy link

astronomersiva commented Jul 31, 2018

Input

The code looked like this before beautification:

<div class="helloWorld">
  {{helloWorld}}
</div>

Expected Output

The code should have looked like this after beautification:

<div class="helloWorld">
  {{helloWorld}}
</div>

Actual Output

Notice how the W has changed to w.

<div class="helloWorld">
  {{helloworld}}
</div>

Steps to Reproduce

Environment

OS: macOS
js-beautify: 1.8.0-rc3

Settings

Example:
js-beautify -r -s=2 --type=html --indent_handlebars

@bitwiseman
Copy link
Member

@astronomersiva
Thanks, keep them coming.

bitwiseman added a commit to bitwiseman/js-beautify that referenced this issue Aug 1, 2018
@bitwiseman bitwiseman modified the milestones: v1.8.x, 1.8.0-rc3 Aug 1, 2018
@bitwiseman bitwiseman modified the milestones: 1.8.0-rc4, 1.8.0 Aug 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants