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

Properties with parentheses (, ) in name don't expand. #215

Open
toasterparty opened this issue Sep 2, 2023 · 2 comments
Open

Properties with parentheses (, ) in name don't expand. #215

toasterparty opened this issue Sep 2, 2023 · 2 comments

Comments

@toasterparty
Copy link

toasterparty commented Sep 2, 2023

This schema built using the default config options produces an HTML page which doesn't expand when foo (bar) is clicked.

{
    "$schema": "https://json-schema.org/draft-07/schema",
    "type": "object",
    "properties": {
        "foo (bar)": {
            "type": "string"
        }
    }
}
@toasterparty toasterparty changed the title Keys with Parentheses (, ) don't expand. Properties with Parentheses (, ) in name don't expand. Sep 2, 2023
@toasterparty toasterparty changed the title Properties with Parentheses (, ) in name don't expand. Properties with parentheses (, ) in name don't expand. Sep 2, 2023
@toasterparty
Copy link
Author

Setting "old_anchor_links": true in the config avoids the problem.

@dblanchette
Copy link
Collaborator

dblanchette commented Dec 19, 2023

I had a look, but this is hard to fix. Bootstrap itself does not deal with special characters in identifiers.
I allowed them in an earlier PR because of users having japanese symbols which would all normalize to the same strings, causing collisions.
Glad you can workaround the problem by using the old links!

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