From 406ec6ebb20b99f44476fdf079b02f109803f36a Mon Sep 17 00:00:00 2001 From: marwoodandrew Date: Thu, 1 Sep 2016 12:55:06 +1000 Subject: [PATCH] fix(kill template) templated story reference was throwing exception --- server/templates/article_killed_override.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/templates/article_killed_override.json b/server/templates/article_killed_override.json index cae2fe408..a7408f5c4 100644 --- a/server/templates/article_killed_override.json +++ b/server/templates/article_killed_override.json @@ -1,3 +1,3 @@ { - "body_html": "

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 %}.

{{body_html.replace('\"', '\\\"') | escape}}" + "body_html": "

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 %}.

{{body_html.replace('\"', '\\\"')}}" } \ No newline at end of file