Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
Issue #4 pointed out that the README example was missing an `html_safe` call.
  • Loading branch information
jho406 committed Jan 20, 2024
1 parent 64308eb commit 2601363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ setHumidRenderer((json) => {
And finally call `render` from ERB.

```ruby
<%= Humid.render(initial_state) %>
<%= Humid.render(initial_state).html_safe %>
```
Instrumentation is included:
Expand Down

0 comments on commit 2601363

Please sign in to comment.