Rename raw_html_tag to just raw_html

This commit is contained in:
Xavier Mendez 2014-09-14 11:19:36 +02:00
parent f83d1686f4
commit 2fca42565a
2 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -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);