diff --git a/pelican/tests/content/article_with_attributes.html b/pelican/tests/content/article_with_attributes.html
new file mode 100644
index 00000000..3025c811
--- /dev/null
+++ b/pelican/tests/content/article_with_attributes.html
@@ -0,0 +1,12 @@
+
+
+
+
+
+ Both double quoted attribute values should
+ be supported.
+ As well as single quoted, so they can accept some
+ JSON data-attributes
+
+
+
diff --git a/pelican/tests/test_readers.py b/pelican/tests/test_readers.py
index e827ed3b..d238f50c 100644
--- a/pelican/tests/test_readers.py
+++ b/pelican/tests/test_readers.py
@@ -374,6 +374,18 @@ class HTMLReaderTest(ReaderTest):
for key, value in expected.items():
self.assertEqual(value, page.metadata[key], key)
+ def test_article_with_attributes(self):
+ page = self.read_file(path='article_with_attributes.html')
+
+ self.assertEqual('''
+
+ Both double quoted attribute values should
+ be supported.
+ As well as single quoted, so they can accept some
+ JSON data-attributes
+
+ ''', page.content)
+
def test_article_with_null_attributes(self):
page = self.read_file(path='article_with_null_attributes.html')