Commits

ms2ger committed beb6b96

Fix test failures.

  • Participants
  • Parent commits 72ac562

Comments (0)

Files changed (2)

anolislib/processes/refs.py

     for r in data:
       dl.append(self.createReference(r, informative))
 
-  def buildReferences(self, ElementTree, xref, **kwargs):
+  def buildReferences(self, ElementTree, xref="data", **kwargs):
     list = open(xref + "/references.json", "rb")
     self.refs = json.load(list)
     list.close()

tests/refs/isbn.html

-<!DOCTYPE html><html><head></head><body><a data-anolis-ref="" href=#refsTIS620>[TIS620]</a>
+<!DOCTYPE html><html><head></head><body><a href=#refsTIS620>[TIS620]</a>
 <div id=anolis-references>
 <dl><dt id=refsTIS620>[TIS620]
 </dt><dd><cite><a href=http://www.nectec.or.th/it-standards/std620/std620.htm>UDC 681.3.04:003.62</a></cite>. Thai Industrial Standards Institute, Ministry of Industry, Royal Thai Government. ISBN 974-606-153-4.
 
-</dd></dl></div>
-</body></html>
+</dd></dl></div></body></html>