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

Support angular/django style filters #323

Closed
bgourlie opened this issue Oct 18, 2013 · 2 comments
Closed

Support angular/django style filters #323

bgourlie opened this issue Oct 18, 2013 · 2 comments

Comments

@bgourlie
Copy link

For my use-case specifically, filters would ideally be able to insert nodes into the DOM, for example:

<div>{{ myContent | html }}</div>

Where html is a filter that converts a string value into a node or document fragment.

@bgourlie
Copy link
Author

I submitted a bug over at dart's bug tracker for the same issue. They have reworded the title and it may make more sense: https://code.google.com/p/dart/issues/detail?id=14234

@sorvell
Copy link
Contributor

sorvell commented Aug 11, 2014

We cannot support this directly for security reasons; however, <template if> or a custom element can be used to output dom.

@sorvell sorvell closed this as completed Aug 11, 2014
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