Implement substitution of attachment links
Process comments for 'comment #x' backrefs