diff --git a/hyde/tests/test_jinja2template.py b/hyde/tests/test_jinja2template.py
index 7331c3b..9cb991e 100644
--- a/hyde/tests/test_jinja2template.py
+++ b/hyde/tests/test_jinja2template.py
@@ -597,3 +597,40 @@ item_list:
assert items == ["A", "B", "C"]
items = [item.text for item in actual("ul.mid li")]
assert items == ["D", "E", "F"]
+
+ def test_raw_tag(self):
+ expected = """
+
+
+"""
+ text = "{%% raw %%}%s{%% endraw %%}" % expected
+ t = Jinja2Template(JINJA2.path)
+ t.configure(None)
+ html = t.render(text, {}).strip()
+ assert html.strip() == expected.strip()
+
+ def test_raw_tag_with_markdown_typogrify(self):
+ expected = """
+
+
+"""
+ text = "{%% filter markdown|typogrify %%}{%% raw %%}%s{%% endraw %%}{%% endfilter %%}" % expected
+ t = Jinja2Template(JINJA2.path)
+ t.configure(None)
+ html = t.render(text, {}).strip()
+ assert html.strip() == expected.strip()
+
+
+