Skip to content

Commit

Permalink
be compatible with haml 6
Browse files Browse the repository at this point in the history
explicitly prevent escaping of markup yielded into layout

see https://github.com/haml/haml/blob/main/CHANGELOG.md#600
see sinatra/sinatra#1820

"The default value of escape_html option became true."
  • Loading branch information
glaszig committed Jan 28, 2023
1 parent 9691c98 commit f6eff12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/amnesia/views/layout.haml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
%a{href: url('/')} Amnesia
%p Statistics for Memcached. Wait—What?
%main
= yield
!= yield
%footer
%p
Another
Expand Down

0 comments on commit f6eff12

Please sign in to comment.