diff --git a/src/document.c b/src/document.c index 1ede9ba..0c32266 100644 --- a/src/document.c +++ b/src/document.c @@ -972,8 +972,8 @@ char_langle_tag(hoedown_buffer *ob, hoedown_document *doc, uint8_t *data, size_t ret = doc->md.autolink(ob, u_link, altype, &doc->data); popbuf(doc, BUFFER_SPAN); } - else if (doc->md.raw_html_tag) - ret = doc->md.raw_html_tag(ob, &work, &doc->data); + else if (doc->md.raw_html) + ret = doc->md.raw_html(ob, &work, &doc->data); } if (!ret) return 0; diff --git a/src/document.h b/src/document.h index 970c4a0..9ccc27c 100644 --- a/src/document.h +++ b/src/document.h @@ -135,7 +135,7 @@ struct hoedown_renderer { int (*superscript)(hoedown_buffer *ob, const hoedown_buffer *text, const hoedown_renderer_data *data); int (*footnote_ref)(hoedown_buffer *ob, unsigned int num, const hoedown_renderer_data *data); int (*math)(hoedown_buffer *ob, const hoedown_buffer *text, int displaymode, const hoedown_renderer_data *data); - int (*raw_html_tag)(hoedown_buffer *ob, const hoedown_buffer *tag, const hoedown_renderer_data *data); + int (*raw_html)(hoedown_buffer *ob, const hoedown_buffer *tag, const hoedown_renderer_data *data); /* low level callbacks - NULL copies input directly into the output */ void (*entity)(hoedown_buffer *ob, const hoedown_buffer *entity, const hoedown_renderer_data *data);