diff --git a/regression_testing/cases/github-cases/case-946.conf b/regression_testing/cases/github-cases/case-946.conf
new file mode 100755
index 00000000..16ee2e7d
--- /dev/null
+++ b/regression_testing/cases/github-cases/case-946.conf
@@ -0,0 +1,3 @@
+# Sample config for 946
+gdoc: yes
+wrap: 999
diff --git a/regression_testing/cases/github-cases/case-946@1.html b/regression_testing/cases/github-cases/case-946@1.html
new file mode 100644
index 00000000..aafb1a56
Binary files /dev/null and b/regression_testing/cases/github-cases/case-946@1.html differ
diff --git a/regression_testing/cases/github-expects/case-946.html b/regression_testing/cases/github-expects/case-946.html
new file mode 100644
index 00000000..980afc7a
--- /dev/null
+++ b/regression_testing/cases/github-expects/case-946.html
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
+
+
+
+
+
+gleg/1x/googleg_standard_color_128dp.png" itemprop="image">
+Google
+
+
+
diff --git a/regression_testing/cases/github-expects/case-946.txt b/regression_testing/cases/github-expects/case-946.txt
new file mode 100644
index 00000000..ac88bf51
--- /dev/null
+++ b/regression_testing/cases/github-expects/case-946.txt
@@ -0,0 +1,330 @@
+line 1 column 1 - Warning: discarding malformed
+line 1 column 26 - Warning: replacing invalid UTF-8 bytes (char. code U+00A5)
+line 1 column 27 - Warning: replacing invalid UTF-8 bytes (char. code U+009F)
+line 1 column 32 - Warning: replacing invalid UTF-8 bytes (char. code U+008D)
+line 1 column 33 - Warning: replacing invalid UTF-8 bytes (char. code U+008D)
+line 1 column 20 - Warning: attribute name "i��ioz{��~" (value="la") is invalid
+line 1 column 33 - Warning: inserting implicit
+line 1 column 41 - Warning: