Closed tmarkovski closed 3 years ago
That's because these are parsed and then outputted again. Refcontent is missing in the internal definition. Because the current xml3 lacks an RFC document, it's hard to keep track of updates
Thanks for the quick response. I think I saw a reference to it at https://github.com/mmarkdown/mmark/blob/c5c8318c852efa4955e97ef049a2cd45672b74ac/mast/reference/reference.go#L82 , but I'm not sure if this is used. I assumed since its the struct, it should be understood.
I'll make sure to update my XML manually to get around this.
you are using mmark from the master branch?
On Wed, 18 Aug 2021, 17:02 Tomislav Markovski, @.***> wrote:
Thanks for the quick response. I think I saw a reference to it at https://github.com/mmarkdown/mmark/blob/c5c8318c852efa4955e97ef049a2cd45672b74ac/mast/reference/reference.go#L82 , but I'm not sure if this is used. I assumed since its the struct, it should be understood.
I'll make sure to update my XML manually to get around this.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mmarkdown/mmark/issues/142#issuecomment-901190029, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACWIW2YMMENZ73BLG62LJDT5PDQ3ANCNFSM5CL53ZUQ .
No, using a docker from https://github.com/oauthstuff/markdown2rfc, which I realize now points to a rather old release. I guess I should try use the latest form this repo.
Please do. Think I even triggered a release with this fix in it (omitempty might be a thing I need to add still)
On Wed, 18 Aug 2021, 19:44 Tomislav Markovski, @.***> wrote:
No, using a docker from https://github.com/oauthstuff/markdown2rfc, which I realize now points to a rather old release. I guess I should try use the latest form this repo.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mmarkdown/mmark/issues/142#issuecomment-901306964, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACWIW3HA7ZA3U5WIBK4GH3T5PWQRANCNFSM5CL53ZUQ .
Latest master (2.2.16) worked, while latest from releases (2.2.10) didn't. I should've used the master version from the start. Thank you for the fast response!
I see that I didn't do any releases (due to using wrong github token). I've pushed 2.2.16 just now.
When using XML in the markdown, when
<reference>
attribute contains<refcontent>
it is stripped in the resulting XML file.For example, in my markdown file I added the following:
but in the generated XML, I get this content
Any reason why this would be the case?