1. ms2ger
  2. Anolis


Geoffrey Sneddon  committed 8d61522

Pass w3c_compat to xref.getTerm from xref.addReferences

  • Participants
  • Parent commits f8c8868
  • Branches default

Comments (0)

Files changed (1)

File specGen/processes/xref.py

View file
 		to_remove = []
 		for element in ElementTree.iter(tag=etree.Element):
 			if element.tag in term_elements or (w3c_compat or w3c_compat_xref_elements) and element.tag in w3c_term_elements:
-				term = self.getTerm(element, **kwargs)
+				term = self.getTerm(element, w3c_compat=w3c_compat, **kwargs)
 				if term in self.dfns:
 					goodParentingAndChildren = True