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

.text.haml files have html escaped content #1014

Closed
cesarizu opened this issue Jun 12, 2019 · 2 comments
Closed

.text.haml files have html escaped content #1014

cesarizu opened this issue Jun 12, 2019 · 2 comments

Comments

@cesarizu
Copy link
Contributor

cesarizu commented Jun 12, 2019

On haml 5.1.1, all text in .text.haml files is html escaped. Using escape_filter_interpolations doesn't seem to help. This seems to be related: rails/rails#8235

Is there any way to disable escaping on text.haml files altogether?

@cesarizu cesarizu changed the title .text.haml files have html escaped content, double escaped .text.haml files have html escaped content Jun 12, 2019
@cesarizu
Copy link
Contributor Author

PR at #1015

HamptonMakes pushed a commit that referenced this issue Jul 14, 2020
@HamptonMakes
Copy link
Member

Merged in the PR!

bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this issue Jan 22, 2021
https://build.opensuse.org/request/show/865194
by user coolo + dimstar_suse
updated to version 5.2.1
 see installed CHANGELOG.md
  ## 5.2.1

  Released on November 30, 2020
  ([diff](haml/haml@v5.2.0...v5.2.1)).

  * Add in improved "multiline" support for attributes [#1043](haml/haml#1043)

  ## 5.2

  Released on September 28, 2020
  ([diff](haml/haml@v5.1.2...v5.2.0)).

  * Fix crash in the attribute optimizer when `#inspect` is overridden in TrueClass / FalseClass [#972](haml/haml#972)
  * Do not HTML-escape templates that are declared to be plaintext [#1014](haml/haml#1014) (Thanks [@cesarizu](https://github.com/cesarizu))
  * Class names are no longer ordered alphabetically, and now follow a new specification as laid ou
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

2 participants