diff --git a/fix-tests.patch b/fix-tests.patch
new file mode 100644
index 0000000..7508573
--- /dev/null
+++ b/fix-tests.patch
@@ -0,0 +1,90 @@
+diff --git a/src/restview/tests.py b/src/restview/tests.py
+index 71aeb77..c840cb8 100644
+--- a/src/restview/tests.py
++++ b/src/restview/tests.py
+@@ -541,10 +541,9 @@ def doctest_RestViewer_rest_to_html():
+ ... ''', settings={'cloak_email_addresses': True}).strip())
+ ... # doctest: +ELLIPSIS,+REPORT_NDIFF
+
+-
++
+
+
+-
+ ...
+ example
+
+
+
+-
++
+ example
+
+ This is a doctest:
+@@ -570,11 +569,9 @@ def doctest_RestViewer_rest_to_html():
+ This is a reference: README.rst
+ This is an email: marius@gedmin.as
+ This is a literal block:
+-
+- See CHANGES.rst, mkay?
+-
++ See CHANGES.rst, mkay?
+ This is an inline literal: README.txt.
+-
++
+
+
+
+@@ -594,10 +591,7 @@ def doctest_RestViewer_rest_to_html_css_url():
+ ... ''').strip())
+ ... # doctest: +ELLIPSIS,+REPORT_NDIFF
+
+-
+-
+-
+-
++
+ ...
+ ...
+
+@@ -606,11 +600,11 @@ def doctest_RestViewer_rest_to_html_css_url():
+
+
+
+-
++
+
+
+
+@@ -729,21 +723,18 @@ def doctest_RestViewer_rest_to_html_pypi_strict():
+ ... ''').strip().replace(""", '"'))
+ ... # doctest: +ELLIPSIS,+REPORT_NDIFF
+
+-
+-
+-
+-
++
+ ...
+ Hello
+