def _tidy1(text): """mxTidy's XHTML validator. This function is a wrapper to mxTidy's validator. """ nerrors, nwarnings, text, errortext = Tidy.tidy(text, output_xhtml=1, numeric_entities=1, wrap=0) return _in_tag(text, 'body')
def _tidy(data, **kwargs): nerrors, nwarnings, data, errordata = _mxtidy.tidy( data, **kwargs) return data
def _tidy(data, **kwargs): nerrors, nwarnings, data, errordata = _mxtidy.tidy(data, **kwargs) return data