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

[Release] 2.0.1 #34

Merged
merged 7 commits into from
Jan 27, 2025
Merged

[Release] 2.0.1 #34

merged 7 commits into from
Jan 27, 2025

Conversation

titouanmathis
Copy link
Contributor

Changed

  • Prefer the html escape mode to the html_attr (#33, c093446)
  • Update composer.lock file (15c83b4)

Per the Twig documentation, the `html_attr` escape strategy should be
used to "escape a string for the HTML attribute context, without quotes
around HTML attribute values". As the attribute's values printed by the
Html class are inside quotes, we can use the simpler `html` escape
strategy.
[Bugfix] Fix attribute escaping strategy
Copy link

codecov bot commented Jan 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.57%. Comparing base (eaef925) to head (6a8b2c6).
Report is 8 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master      #34      +/-   ##
============================================
- Coverage     97.64%   97.57%   -0.08%     
  Complexity       54       54              
============================================
  Files             6        6              
  Lines           170      165       -5     
============================================
- Hits            166      161       -5     
  Misses            4        4              
Flag Coverage Δ
unittests 97.57% <100.00%> (-0.08%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@titouanmathis titouanmathis merged commit 10edd5e into master Jan 27, 2025
14 checks passed
@titouanmathis titouanmathis deleted the release/2.0.1 branch January 27, 2025 08:10
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

Successfully merging this pull request may close these issues.

1 participant