(self, v)
return self._fmt_text_col(v).\
           replace("&", "&amp;"). \
           replace(">", "&gt;"). \
           replace("<", "&lt;"). \
           replace("'", "&apos;"). \
           replace('"', "&quot;")
Format as HTML (mainly escaping &/</>
Format as HTML (mainly escaping &/</>
Format as HTML ( mainly escaping & / < / >
def _fmt_html_col(self, v):
        "Format as HTML (mainly escaping &/</>"
        return self._fmt_text_col(v).\
           replace("&", "&amp;"). \
           replace(">", "&gt;"). \
           replace("<", "&lt;"). \
           replace("'", "&apos;"). \
           replace('"', "&quot;")
def _fmt_html_col ( self , v ) : return self . _fmt_text_col ( v ) . replace ( "&" , "&amp;" ) . replace ( ">" , "&gt;" ) . replace ( "<" , "&lt;" ) . replace ( "'" , "&apos;" ) . replace ( '"' , "&quot;" )