Skip to content

Commit

Permalink
Merge pull request #62 from thisismyrobot/master
Browse files Browse the repository at this point in the history
Unicode domain note added to emails
  • Loading branch information
thisismyrobot committed Nov 18, 2017
2 parents c5965f4 + e5ef194 commit 88e812d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dnstwister/templates/email/report.html
@@ -1,4 +1,7 @@
<h1>dnstwister report for <strong>{{ domain | domain_renderer }}</strong></h1>
<p>
<strong>NEW: dnstwister now supports Unicode domains.</strong>
</p>
<p>
<a href="{{ unsubscribe_link }}">Unsubscribe</a>
</p>
Expand Down
6 changes: 6 additions & 0 deletions tests/test_tools_email.py
Expand Up @@ -17,6 +17,9 @@ def test_email_renderer():

assert template.strip() == textwrap.dedent("""
<h1>dnstwister report for <strong>www<span>.</span>example<span>.</span>com</strong></h1>
<p>
<strong>NEW: dnstwister now supports Unicode domains.</strong>
</p>
<p>
<a href="https://dnstwister.report/...">Unsubscribe</a>
</p>
Expand Down Expand Up @@ -100,6 +103,9 @@ def test_email_renderer_domain_sorting():

assert template.strip() == textwrap.dedent("""
<h1>dnstwister report for <strong>www<span>.</span>example<span>.</span>com</strong></h1>
<p>
<strong>NEW: dnstwister now supports Unicode domains.</strong>
</p>
<p>
<a href="https://dnstwister.report/...">Unsubscribe</a>
</p>
Expand Down

0 comments on commit 88e812d

Please sign in to comment.