Hi,

Please look at the comment of the function:

/*
 * Replaces <, >, ", ' and & with &lt;, &gt;, &quot;,
 * &#039; and &amp; correspondingly.
 *
 * The returned string needs to be freed by the caller.
 */

char *
evhttp_htmlescape(const char *html)


 
                                 
        liusifan
[EMAIL PROTECTED]
          2007-05-10

>>>Hi All,
>    If my inport is:
>    char *html = "&amp;";
>
>    when i do
>    evhttp_htmlescape(html);
>    I will get "&amp;amp;"
>
>    I'm not sure it is a bug or not , but it really bother me...
>_______________________________________________
>Libevent-users mailing list
>Libevent-users@monkey.org
>http://monkey.org/mailman/listinfo/libevent-users
>
>

= = = = = = = = = = = = = = = = = = = =
                        

_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users

Reply via email to