Sha256: 40f5b0dcb622ee8dc1d98dc937fad4d4651d1d655850184bb093ab8692095825

Contents?: true

Size: 430 Bytes

Versions: 118

Compression:

Stored size: 430 Bytes

Contents

#ifndef HESCAPE_H
#define HESCAPE_H

#include <sys/types.h>

/*
 * Replace characters according to the following rules.
 * Note that this function can handle only ASCII-compatible string.
 *
 * " => &quot;
 * & => &amp;
 * ' => &#39;
 * < => &lt;
 * > => &gt;
 *
 * @return size of dest. If it's larger than len, dest is required to be freed.
 */
extern size_t hesc_escape_html(char **dest, const char *src, size_t size);

#endif

Version data entries

118 entries across 118 versions & 2 rubygems

Version Path
haml-6.1.4-java ext/haml/hescape.h
haml-6.1.4 ext/haml/hescape.h
haml-6.1.3-java ext/haml/hescape.h
haml-6.1.3 ext/haml/hescape.h
haml-6.1.2-java ext/haml/hescape.h
haml-6.1.2 ext/haml/hescape.h
haml-6.1.1-java ext/haml/hescape.h
haml-6.1.1 ext/haml/hescape.h
haml-6.1.0-java ext/haml/hescape.h
haml-6.1.0 ext/haml/hescape.h
haml-6.0.12-java ext/haml/hescape.h
haml-6.0.12 ext/haml/hescape.h
haml-6.0.11-java ext/haml/hescape.h
haml-6.0.11 ext/haml/hescape.h
haml-6.0.10-java ext/haml/hescape.h
haml-6.0.10 ext/haml/hescape.h
haml-6.0.9-java ext/haml/hescape.h
haml-6.0.9 ext/haml/hescape.h
hamlit-3.0.3-java ext/hamlit/hescape.h
hamlit-3.0.3 ext/hamlit/hescape.h