Commits

Anonymous committed 8796438

Fixed test markup for nested microformat parsing

Comments (0)

Files changed (2)

test/examples/nested_multiple_classnames.html

 <!DOCTYPE html>
 <html>
 <head>
-  <meta http-equiv="content-type" content="text/html; charset=utf-8">
-  <title>Nested + Multiple Classnames</title>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
+ <title>Nested + Multiple Classnames</title>
 </head>
 <body>
-	<article class="h-entry h-as-note">
-        <h1 class="p-name">A BLOG POST</h1>
-        
-		<p class="p-author p-reviewer h-card">
-			<span class="p-name">Tom Morris</span>
-			<a href="http://tommorris.org/" class="u-url">tommorris.org</a>
-            <p class="p-adr h-adr">
-                <span class="p-city">London</span>
-            </p>
-		</p>
-        
-        <p class="h-cite">Some Citation</p>
-	</article>
+ <article class="h-entry h-as-note">
+  <h1 class="p-name">A BLOG POST</h1>
+   <div class="p-author p-reviewer h-card">
+    <span class="p-name">Tom Morris</span>
+    <a href="http://tommorris.org/" class="u-url">tommorris.org</a>
+    <p class="p-adr h-adr">
+     <span class="p-city">London</span>
+    </p>
+   </p>
+  </div>
+  <p class="h-cite">Some Citation</p>
+ </article>
 </body>
 </html>

test/test_parser.py

+# coding: utf-8
+
 import nose
 import os.path
 from pprint import pprint