mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
parent
732e6feb05
commit
3b2503a7d5
2 changed files with 0 additions and 24 deletions
|
|
@ -1,12 +0,0 @@
|
|||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<section id="double-quote-attribute-value">
|
||||
Both double quoted attribute values should
|
||||
be supported.
|
||||
As well as single quoted, so they can accept some
|
||||
<span data-json='{"key": "value"}'>JSON data-attributes</span>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -374,18 +374,6 @@ 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('''
|
||||
<section id="double-quote-attribute-value">
|
||||
Both double quoted attribute values should
|
||||
be supported.
|
||||
As well as single quoted, so they can accept some
|
||||
<span data-json='{"key": "value"}'>JSON data-attributes</span>
|
||||
</section>
|
||||
''', page.content)
|
||||
|
||||
def test_article_with_null_attributes(self):
|
||||
page = self.read_file(path='article_with_null_attributes.html')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue