Handle <const type="term"> correctly