mmarkdown / mmark

Mmark: a powerful markdown processor in Go geared towards the IETF
https://mmark.miek.nl
Other
480 stars 45 forks source link

Do not emit empty address components in xml output #30

Closed fanf2 closed 6 years ago

fanf2 commented 6 years ago

The online xml2rfc converter at https://xml2rfc.tools.ietf.org/ requires certain XML elements to be non-empty, including various optional parts of the authors' addresses. So this change skips the whole of the optional element if its contents are empty.