-
-
Notifications
You must be signed in to change notification settings - Fork 197
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
Configuration #42
Comments
|
Thanks for the feedback! After considering this for the past week, I've come to these conclusions:
|
I have implemented a possible solution in PR #56. I'd greatly appreciate any feedback. |
Parsers and renderers will need to be configurable at some point. For example, some users may want to whitelist certain HTML elements as "safe", ensuring that others get escaped. If we were to allow such configurations now, the user would need to manually build their
Environment
and set the options on each individual parser/renderer:It would be much easier if the user could obtain the pre-built
Environment
and simply pass all their configurations in at once. Perhaps it would look like this:So the questions I have are:
The text was updated successfully, but these errors were encountered: