pep-dortmund / member-database

Our member database application
Other
9 stars 1 forks source link

Enable html rendering in form labels #192

Closed maxnoe closed 1 year ago

maxnoe commented 1 year ago

We deal with trusted input (only event admins can enter these) so this is safe against html injection.

This worked before, but since wtforms 2.3, label text is escaped and we need to explicitly allow the content.

codecov-commenter commented 1 year ago

Codecov Report

Merging #192 (2c3ec17) into main (14d6493) will increase coverage by 0.02%. The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main     #192      +/-   ##
==========================================
+ Coverage   77.78%   77.80%   +0.02%     
==========================================
  Files          23       23              
  Lines        1058     1059       +1     
==========================================
+ Hits          823      824       +1     
  Misses        235      235              
Impacted Files Coverage Δ
member_database/events/json_forms.py 83.63% <100.00%> (+0.30%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more