(text)
return text
Encodes `text` for raw use in HTML.
    
        >>> htmlquote("<'&\\">")
        '&lt;&#39;&amp;&quot;&gt;'
Encodes `text` for raw use in HTML.
    
        >>> htmlquote("<'&\\">")
        '&lt;&#39;&amp;&quot;&gt;'
Encodes text for raw use in HTML . >>> htmlquote ( < & \\ > ) &lt ; &#39 ; &amp ; &quot ; &gt ;
def htmlquote(text):
    """
    Encodes `text` for raw use in HTML.
    
        >>> htmlquote("<'&\\">")
        '&lt;&#39;&amp;&quot;&gt;'
    """
    text = text.replace("&", "&amp;") # Must be done first!
    text = text.replace("<", "&lt;")
    text = text.replace(">", "&gt;")
    text = text.replace("'", "&#39;")
    text = text.replace('"', "&quot;")
    return text
def htmlquote ( text ) : text = text . replace ( "&" , "&amp;" ) # Must be done first! text = text . replace ( "<" , "&lt;" ) text = text . replace ( ">" , "&gt;" ) text = text . replace ( "'" , "&#39;" ) text = text . replace ( '"' , "&quot;" ) return text