fdo#74584: Upcase the tag name before searching.

Else HTML import or detection code would fail.

Change-Id: Id79e8eac87d8001527f068f8fd49636353dc38d5