Commits

Geoffrey Sneddon committed f8c8868

Keep hyphens as well in the aggressive xref normalization.

Comments (0)

Files changed (1)

specGen/processes/xref.py

 w3c_term_elements = ("abbr", "acronym", "b", "bdo", "big", "code", "del", "em", "i", "ins", "kbd", "label", "legend", "q", "samp", "small", "span", "strong", "sub", "sup", "tt", "var")
 term_not_in_stack_with = ("a", "dfn", "datagrid")
 
-non_alphanumeric_spaces = re.compile(r"[^a-zA-Z0-9 ]+")
+non_alphanumeric_spaces = re.compile(r"[^a-zA-Z0-9 \-]+")
 
 class xref(object):
 	"""Add cross-references."""