Fixing typeOfResource underline markup