diff --git a/README.rst b/README.rst
index 7ce3fd4..f6ce08e 100644
--- a/README.rst
+++ b/README.rst
@@ -101,6 +101,18 @@ If you use ``pyproject.toml`` for tool configuration use::
[tool.coverage.django_coverage_plugin]
template_extensions = 'html, txt, tex, email'
+By default,
+ {% endif %}
+
+ yyy
+
"""
+ self.make_template(template)
+ self.run_django_coverage()
+ report = self.cov.report()
+ lines = len(template.split('\n'))
+ self.assertEqual(report, 100.0 * (lines - 2) / lines)
+
+ def test_script_tag_not_ignored(self):
+ self.make_file(".coveragerc", """\
+ [run]
+ plugins = django_coverage_plugin
+ [django_coverage_plugin]
+ ignore_script_tags = false
+ """)
+
+ template = """{% if 1 %}
+ {% url 'xxx' as yyy %}
+
+ xxx
+
+
+
+ {% endif %}
+
+ yyy
+
"""
+ self.make_template(template)
+ self.run_django_coverage()
+ report = self.cov.report()
+ lines = len(template.split('\n'))
+ self.assertEqual(report, 100.0)
+
class StringTemplateTest(DjangoPluginTestCase):