Skip to content
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

[Bug]: < > in copyright string crashes site #386

Open
Jey-Cee opened this issue May 3, 2022 · 1 comment
Open

[Bug]: < > in copyright string crashes site #386

Jey-Cee opened this issue May 3, 2022 · 1 comment
Assignees
Labels
Bug Website Related to website technic. NOT CONTENT!

Comments

@Jey-Cee
Copy link
Contributor

Jey-Cee commented May 3, 2022

Contact Details

[email protected]

What happened?

If the copyright string has < > in it like on heatingcontrol readme <2019-2021>, they can't be opened while it crashes.
Click on the link to see only a white page.
In the browser console is a message that says "The tag name provided ('2019-2021') is not a valid name." here we see the copyright year string.

Link

https://www.iobroker.net/#de/adapters/adapterref/iobroker.heatingcontrol/README.md

Relevant log output

Uncaught (in promise) DOMException: Failed to execute 'createElement' on 'Document': The tag name provided ('2019-2021') is not a valid name.
    at Za (https://www.iobroker.net/static/js/2.fa83f41b.chunk.js:2:823778)
    at cl (https://www.iobroker.net/static/js/2.fa83f41b.chunk.js:2:845141)
    at ul (https://www.iobroker.net/static/js/2.fa83f41b.chunk.js:2:845029)
    at sl (https://www.iobroker.net/static/js/2.fa83f41b.chunk.js:2:844882)
    at Js (https://www.iobroker.net/static/js/2.fa83f41b.chunk.js:2:841891)
    at https://www.iobroker.net/static/js/2.fa83f41b.chunk.js:2:793276
    at t.unstable_runWithPriority (https://www.iobroker.net/static/js/2.fa83f41b.chunk.js:2:868857)
    at Hi (https://www.iobroker.net/static/js/2.fa83f41b.chunk.js:2:792985)
    at qi (https://www.iobroker.net/static/js/2.fa83f41b.chunk.js:2:793221)
    at Ui (https://www.iobroker.net/static/js/2.fa83f41b.chunk.js:2:793156)

Anything else?

No response

@Jey-Cee Jey-Cee added Bug Website Related to website technic. NOT CONTENT! labels May 3, 2022
@Apollon77
Copy link
Collaborator

Apollon77 commented May 3, 2022

It also had the brackets around the email ...

I proposed at least a fix as temp workaround rg-engineering/ioBroker.heatingcontrol#315

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Website Related to website technic. NOT CONTENT!
Projects
None yet
Development

No branches or pull requests

3 participants