Skip to content

Commit

Permalink
fix html coding error
Browse files Browse the repository at this point in the history
  • Loading branch information
jsjiang committed Oct 4, 2024
1 parent 9e7123d commit 3a770b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui_tags/templatetags/manage_form_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def column_choices(field_order, fields_mapped, fields_selected):

def make_check_tag(item, friendly_names, selected):
if item in selected:
checked_str = " checked='checked' "
checked_str = " checked='checked'"
else:
checked_str = ""
return (
Expand All @@ -42,7 +42,7 @@ def make_check_tag(item, friendly_names, selected):
+ django.utils.html.escape(item)
+ "' value='t'"
+ checked_str
+ " \> "
+ " /> "
+ "<label for='"
+ django.utils.html.escape(item)
+ "'>"
Expand Down

0 comments on commit 3a770b1

Please sign in to comment.