issue #1007: fixed broken markup