Checking within content for pseudo elements