소스 검색

Disable autoescaping for plain text email

Jordi Boggiano 12 년 전
부모
커밋
80b4d3bec6
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/Packagist/WebBundle/Resources/views/Email/update_failed.txt.twig

+ 2 - 0
src/Packagist/WebBundle/Resources/views/Email/update_failed.txt.twig

@@ -1,3 +1,4 @@
+{% autoescape false -%}
 > Disclaimer: These email notifications are in experimental stage, if you find
 > that they look strange or contain false or misleading information please
 > reply to this email to let us know.
@@ -19,3 +20,4 @@ Below is the full update log which should highlight errors as
 --
 If you do not wish to receive such emails in the future you can disable
 notifications on your profile page: https://packagist.org/profile/edit
+{%- endautoescape %}