#include "tags.h" // All comments dropped // //enum {TagNull=0,TagEmit,TagSkip,TagDone,Close,TagStop,Text,TagSingle} codes; // td // TagEmit is not really detected, and some thinning out will happen // Mainly we want to know the TagSkips, TagDone, TagSingles, Closers, TagNull // Many tag are not on the list but are still passed properly Tag tags[NUMTAGS]= { {"h1",TagEmit},{"h2",TagEmit},{"h3",TagEmit}, {"text",TagEmit},{"a",TagEmit},{"p",TagNull}, {"hr",TagSingle},{"link",TagSingle}, {"ul",TagNull},{"em",TagNull}, {"html",TagEmit},{"li",TagEmit},{"font",TagEmit}, {"head",TagEmit},{"style",TagSkip},{"div",TagNull}, {"body",TagEmit},{"span",TagNull},{"form",TagSkip}, {"dialog",TagNull},{"b",TagEmit},{"img",TagSkip},{"b",TagNull}, {"meta",TagNull},{"title",TagEmit},{"script",TagSkip},{"br",TagSingle}, {"!",TagNull},{"!",TagSkip},{"",TagStop},{"textarea",TagSingle}};
tags for html
Subscribe to:
Posts (Atom)
No comments:
Post a Comment