Skip to content

Commit

Permalink
houdini_escape_html0
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Mar 25, 2024
1 parent c91ced1 commit df92c16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/houdini.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ extern "C" {

bufsize_t houdini_unescape_ent(cmark_strbuf *ob, const uint8_t *src,
bufsize_t size);
int houdini_escape_html0(cmark_strbuf *ob, const uint8_t *src,
int houdini_escape_html(cmark_strbuf *ob, const uint8_t *src,
bufsize_t size, int secure);
int houdini_unescape_html(cmark_strbuf *ob, const uint8_t *src,
bufsize_t size);
Expand Down
2 changes: 1 addition & 1 deletion src/houdini_html_e.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ static const char HTML_ESCAPE_TABLE[] = {
static const char *HTML_ESCAPES[] = {"", """, "&", "'",
"/", "<", ">"};

int houdini_escape_html0(cmark_strbuf *ob, const uint8_t *src, bufsize_t size,
int houdini_escape_html(cmark_strbuf *ob, const uint8_t *src, bufsize_t size,
int secure) {
bufsize_t i = 0, org, esc = 0;

Expand Down

0 comments on commit df92c16

Please sign in to comment.