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 - "&" is encoded wrongly when applied. #151

Open
jorgenspange opened this issue Oct 2, 2024 · 2 comments
Open

Bug - "&" is encoded wrongly when applied. #151

jorgenspange opened this issue Oct 2, 2024 · 2 comments

Comments

@jorgenspange
Copy link

Good day,

If i try to define snmp contact or banner containing "&" it gets recoded to "\u0026"

For instance this:

contact: "test & test" 

becomes this in ACI:

"test \u0026 test"

It does not work the other way around, so if i write "\u0026" it shows up as exactly that and not "&".

Best regards

@jorgenspange jorgenspange changed the title Bug - "&" is encoded wrongly. Bug - "&" is encoded wrongly when applied. Oct 2, 2024
@juchowan
Copy link
Contributor

juchowan commented Oct 2, 2024

Hi, in 0.9.1 version we support escape_html attribute for banners that should handle special characters, set it to false and it should kept the &

@jorgenspange
Copy link
Author

Hi @juchowan thanks for the prompt reply!

Great, but this will still be a problem for things like snmp contact.

br
Jørgen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants