def subSGMLRefs(s):
 return re_sgmlrefsub(_replSGMLRefs, s)

def subSGMLRefs ( s ) : return re_sgmlrefsub ( _replSGMLRefs , s )
return the given html string with sgml entity and char references replaced .