Skip to content

Commit

Permalink
Attempt to fix GoogleChrome#542
Browse files Browse the repository at this point in the history
  • Loading branch information
ebidel committed Mar 28, 2018
1 parent bf4f837 commit 4cbc41b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def create_wf_content_list(component):
return '<li>None</li>'

for url in content:
list += '<li><a href="{url}">{url}</a>. Last updated: {updatedOn})</li>'.format(
list += '<li><a href="{url}">{url}</a>. Updated: {updatedOn}</li>'.format(
url=escape(url['url']), updatedOn=escape(url['updatedOn']))
if not wf_component_content:
list = '<li>None</li>'
Expand Down Expand Up @@ -130,7 +130,7 @@ def email_feature_subscribers(feature, is_update=False, changes=[]):
updated_on = datetime.datetime.strptime(str(feature.updated), "%Y-%m-%d %H:%M:%S.%f").date()
formatted_changes = ''
for prop in changes:
formatted_changes += '<li>%s: %s -> %s</li>' % (escape(prop['prop_name']), escape(prop['old_val']), escape(prop['new_val']))
formatted_changes += '<li>%s: %s &gt; %s</li>' % (escape(prop['prop_name']), escape(prop['old_val']), escape(prop['new_val']))
if not formatted_changes:
formatted_changes = '<li>None</li>'

Expand Down

0 comments on commit 4cbc41b

Please sign in to comment.