Skip to content

Commit

Permalink
Merge pull request #113 from marwoodandrew/fix-kill-template
Browse files Browse the repository at this point in the history
fix(kill template) templated story reference was throwing exception
  • Loading branch information
Mayur Dhamanwala authored Sep 1, 2016
2 parents c4a794f + 406ec6e commit dfa183e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/templates/article_killed_override.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"body_html": "<p>Please kill story slugged {{ slugline.replace('\"', '\\\"') }} headlined {{headline.replace('\"', '\\\"')}} ex {{ city }} at {%if desk_name.strip().lower() == 'new zealand'%}{{versioncreated | format_datetime('Pacific/Auckland', '%d %b %Y %H:%S %Z')}}{% else %}{{versioncreated | format_datetime('Australia/Sydney', '%d %b %Y %H:%S %Z')}}{% endif %}.</p>{{body_html.replace('\"', '\\\"') | escape}}"
"body_html": "<p>Please kill story slugged {{ slugline.replace('\"', '\\\"') }} headlined {{headline.replace('\"', '\\\"')}} ex {{ city }} at {%if desk_name.strip().lower() == 'new zealand'%}{{versioncreated | format_datetime('Pacific/Auckland', '%d %b %Y %H:%S %Z')}}{% else %}{{versioncreated | format_datetime('Australia/Sydney', '%d %b %Y %H:%S %Z')}}{% endif %}.</p>{{body_html.replace('\"', '\\\"')}}"
}

0 comments on commit dfa183e

Please sign in to comment.