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

Add placeholder filter implementation #15

Closed
JohnAlbin opened this issue Dec 3, 2021 · 0 comments
Closed

Add placeholder filter implementation #15

JohnAlbin opened this issue Dec 3, 2021 · 0 comments
Labels
feature New feature or request
Milestone

Comments

@JohnAlbin
Copy link
Owner

Currently, the placeholder is just a pass-through filter. We should implement it the way Drupal does.

From the Drupal docs on escapePlaceholder, the placeholder filter should return:

<em class="placeholder">{{ string|drupal_escape }}</em>

Fortunately, the drupal_escape filter is already implemented, so this should be easy.

@JohnAlbin JohnAlbin added the feature New feature or request label Dec 3, 2021
@JohnAlbin JohnAlbin added this to the 1.0 milestone Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant