Skip to content

Commit

Permalink
dev: delete gumbo_normalize_svg_tagname
Browse files Browse the repository at this point in the history
It's unused.
  • Loading branch information
flavorjones committed Jan 3, 2025
1 parent 8d1582a commit 0e4b50e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions gumbo-parser/src/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -1962,14 +1962,6 @@ static void merge_attributes (
#endif
}

const char* gumbo_normalize_svg_tagname(const GumboStringPiece* tag) {
const StringReplacement *replacement = gumbo_get_svg_tag_replacement (
tag->data,
tag->length
);
return replacement ? replacement->to : NULL;
}

// https://html.spec.whatwg.org/multipage/parsing.html#adjust-foreign-attributes
// This destructively modifies any matching attributes on the token and sets the
// namespace appropriately.
Expand Down

0 comments on commit 0e4b50e

Please sign in to comment.