marksweb / django-bleach

Bleach is a Python module that takes any HTML input, and returns valid, sanitised HTML that contains only an allowed subset of HTML tags, attributes and styles. django-bleach is a Django app that makes using bleach extremely easy.
MIT License
148 stars 23 forks source link

Return empty_value for any empty input value #29

Closed MrkGrgsn closed 3 years ago

MrkGrgsn commented 3 years ago

Fixes #28

Checklist

codecov[bot] commented 3 years ago

Codecov Report

Merging #29 (516531a) into master (527c1c9) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #29   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines           81        81           
  Branches        16        16           
=========================================
  Hits            81        81           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 527c1c9...516531a. Read the comment docs.

marksweb commented 3 years ago

@MrkGrgsn could you rebase this so I can merge please?

MrkGrgsn commented 3 years ago

Done. Thanks for reviewing and accepting the PRs 👍