-
Notifications
You must be signed in to change notification settings - Fork 82
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
HTML output does not render proper titles #30
Comments
Hey @mbonig Thanks for reporting. I've noticed the same thing and this used to work, but suddenly isn't. I have the feeling it's happened through some update of the visjs lib. Been searching their github issues without any luck. I'll raise an issue there and link to this one |
Is there a way to control what the title renders to? I'd love to replace it with a link to the resource in AWS. |
I like the idea a lot and I would also want this, but since the AWS console doesn't follow any conventions, there'd be custom logic per resource to build the URL I've attempted this in another project, but it just gets too time consuming |
Version 1.1.20 that just got deployed fixes the formatting issue 👍 Will close this issue and will address the linking to the console if I find a straight forward ARN -> URL mapping. Thanks again for reporting |
When rendering to HTML the title gets set to a
pre
formatted JSON (or yaml) representation. However, the title property doesn't render spaces properly.Looking at the rendered HTML, it appears that vis.js might be trying to replace newlines with
br
s causing this misformatting:The text was updated successfully, but these errors were encountered: