-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Render error when string in example contains '</' #168
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. Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue. |
@aleung Hi! Thanks for report issue! Most likely it is due to sanitizing example -> here https://github.com/asyncapi/html-template/blob/master/partials/example.html#L20 @derberg Do you know why we sanitize examples? |
tbh you would have to try to remove the |
No problem. Thanks! @magicmatatjahu |
Fixed in |
Describe the bug
The content of string in example can not be correctly render when the string contains
</
.How to Reproduce
generator version: 1.6.2
html-template version: 0.18.1
Screenshots
Files that can help reproduce the issue
Expected behavior
In generated HTML, the
objectLinks
in example should be shown as same as the value in definition file, containing</0/0>
...The text was updated successfully, but these errors were encountered: