Make h1 duplicate detection code block aware