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

Not working with HAML 6 #237

Open
kidhab opened this issue Mar 29, 2023 · 1 comment
Open

Not working with HAML 6 #237

kidhab opened this issue Mar 29, 2023 · 1 comment

Comments

@kidhab
Copy link

kidhab commented Mar 29, 2023

I'm using a Rails application that bundles HAML 6. There are some .deface files that replace or add some code, like:

/ insert_after 'erb:contains("delete")'
= link_to t('.send_message'), new_message_path(:message => {:mail_to => @user.id}), class: 'btn'

Deface (1.9.0) silently fails to update the views. deface:get_result doesn't show any errors or changes.

By downgrading to HAML 5.2.2 everything works fine.

Let me know if you need more information.

@forkata
Copy link

forkata commented Oct 18, 2023

We are also seeing an issue with rendering haml templates/partials through Deface when updating to version 6.x. The behaviour we're seeing is that the raw template is being output instead of the rendered html.

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