Files
discount/html5.c
david parsons 07c10928ba Optimize the html block tag list handler; standard html tags now live in a static array
and html5 (or other) tags are added to an extratags array that is only searched
if the tag can't be found in the standard one.
2011-07-22 00:21:10 -07:00

23 lines
450 B
C

/* block-level tags for passing html5 blocks through the blender
*/
#include "tags.h"
void
mkd_with_html5_tags()
{
static int populated = 0;
if ( populated ) return;
populated = 1;
mkd_define_tag("ASIDE", 0);
mkd_define_tag("FOOTER", 0);
mkd_define_tag("HEADER", 0);
mkd_define_tag("HGROUP", 0);
mkd_define_tag("NAV", 0);
mkd_define_tag("SECTION", 0);
mkd_define_tag("ARTICLE", 0);
mkd_sort_tags();
}