The haml command's debug option (-d) no longer executes the Haml code, but
rather checks the generated Ruby syntax for errors.
Drop parser/compiler accessor from Haml::Engine. Modify Haml::Engine#initialize options
or Haml::Template.options instead. (Takashi Kokubun)
Drop dynamic quotes support and always escape ' for escape_html/escape_attrs instead.
Also, escaped results are slightly changed and always unified to the same characters. (Takashi Kokubun)
Don't preserve newlines in attributes. (Takashi Kokubun)
HTML escape interpolated code in filters.
#770
(Matt Wildig)
Add a tracing option. When enabled, Haml will output a data-trace attribute on each tag showing the path
to the source Haml file from which it was generated. Thanks Alex Babkin.
Add haml_tag_if to render a block, conditionally wrapped in another element (Matt Wildig)
General performance and memory usage improvements. (Akira Matsuda)
Analyze attribute values by Ripper and render static attributes beforehand. (Takashi Kokubun)
Optimize attribute rendering about 3x faster. (Takashi Kokubun)
Add temple gem as dependency and create Haml::TempleEngine class.
Some methods in Haml::Compiler are migrated to Haml::TempleEngine. (Takashi Kokubun)
Fixed
Fix for attribute merging. When an attribute method (or literal nested hash)
was used in an old style attribute hash and there is also a (non-static) new
style hash there is an error. The fix can result in different behavior in
some circumstances. See the commit message
for detailed info. (Matt Wildig)
Make escape_once respect hexadecimal references. (Matt Wildig)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/mendicant-original/puzzlenode/network/alerts).
Bumps haml from 4.0.0 to 5.0.0.
Changelog
Sourced from haml's changelog.
... (truncated)
Commits
78e2a09
Version 5.0.0e5d6409
Note about #770 in Haml 5 changes1bac6f9
Remove JRuby from allow_failuresd45c2d4
Add backslash for @ to support JRuby8f20707
Enable frozen_string_literal pragma if possiblea6bb255
Oops, this was not intentional...aa4c397
Fix spec in #867 for pretty mode removal11af795
Fallback to default value of preserve optionbbbeb7e
Update CHANGELOG to include #867ed7f24f
Merge pull request #867 from redoPop/atful-cssDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show