parameters: (self, text)
return_statement: return text.replace('&amp;','~~~~~').replace('&','&amp;').replace('~~~~~', '&amp;')
docstring: Replace all "&" characters with "&amp;"
docstring_summary: Replace all "&" characters with "&amp;"
docstring_tokens: Replace all & characters with &amp ;
function: def ampReplace(self, text):
          '''Replace all "&" characters with "&amp;"
          '''
          text = self.textUtf8(text)
          return text.replace('&amp;','~~~~~').replace('&','&amp;').replace('~~~~~', '&amp;')
function_tokens: def ampReplace ( self , text ) : text = self . textUtf8 ( text ) return text . replace ( '&amp;' , '~~~~~' ) . replace ( '&' , '&amp;' ) . replace ( '~~~~~' , '&amp;' )