-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output contain valid XML tags #365
Comments
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request. |
Hey @kjaquier, pretty sure we just need to change these 2 lines: markdown-template/helpers/schema.js Lines 112 to 114 in c35fc69
Wanna help provide a fix for it? |
Hello, @jonaslagoni! 👋🏼 I'm 🧞🧞🧞 Genie 🧞🧞🧞 from the magic lamp. Looks like somebody needs a hand! At the moment the following comments are supported in issues:
|
Ok this is what I got so far but some tests still need updating: 827bd0d |
@kjaquier can you please open a PR, it would be easier this way to help providing a mergable PR 🙏🏼 |
should i raise a PR fixing it ? |
@Min2who go ahead please |
🎉 This issue has been resolved in version 1.6.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Describe the bug
Context
I'm testing out templates for integrating an AsyncAPI spec into a Docusaurus website. Docusaurus uses MDX which allows integrating JSX components and code into Markdown documents. I assume it accepts XML tags as HTML/JSX components which other Markdown parsers might ignore and render as text.
Actual issue
The output contains elements like
array<integer>
that can look like unclosed HTML elements to some parsers.How to Reproduce
Write an AsyncAPI schema that include a property like:
The generated document will contain a table with this:
Expected behavior
The line above should be formatted as code:
There should be no
<
and>
in the generated document that isn't formatted as code or escaped appropriately.The text was updated successfully, but these errors were encountered: