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

DEV: Remove Handlebars dependency #299

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

davidtaylorhq
Copy link
Contributor

Raw-handlebars will be removed from Discourse core imminently (discourse/discourse#32081)

The usage in custom-user-selector seemed like it was expecting SafeString to actually do something to escape user input. It doesn't actually do any processing to the string. So I removed it, and added escapeExpression around the user input instead.

The usage in wizard-char-counter can be easily replaced with Ember's htmlSafe helper

Raw-handlebars will be removed from Discourse core imminently (discourse/discourse#32081)

The usage in `custom-user-selector` seemed like it was expecting SafeString to actually do something to escape user input. It doesn't actually do any processing to the string. So I removed it, and added `escapeExpression` around the user input instead.

The usage in wizard-char-counter can be easily replaced with Ember's `htmlSafe` helper
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

Successfully merging this pull request may close these issues.

1 participant