Mark HTML row data as safe in repository admin list.
Review Request #12107 — Created March 7, 2022 and submitted
The list of repositories in the admin includes one column which contains
HTML, for the "Hooks" and "RBTools Setup" buttons. The new version of
Django was escaping these because the oldallow_tags
property has been
removed. This can be solved by marking the content as safe first.
Looked at repository list and saw buttons instead of HTML.
Summary | ID |
---|---|
cd5740fd1cd22a857ac70211484ae69393cdf39f |
Description | From | Last Updated |
---|---|---|
You can get rid of allow_tags. It was deprecated, and is the reason this regressed. We should audit Djblet and … |
chipx86 |
- Description:
-
The list of repositories in the admin includes one column which contains
HTML, for the "Hooks" and "RBTools Setup" buttons. The new version of ~ Django was escaping these, which can be solved by marking the content as ~ safe first. ~ Django was escaping these because the old allow_tags
property has been~ removed. This can be solved by marking the content as safe first. - Commits:
-
Summary ID 4e23d415d57752303ed33a03a5e295026da77a7f cd5740fd1cd22a857ac70211484ae69393cdf39f
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.