Fix markup so master_tops document will render correctly

Fixes #18723