8000 raw filter on the empty string by drzraf · Pull Request #702 · twigjs/twig.js · GitHub
[go: up one dir, main page]

Skip to content

raw filter on the empty string #702

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

Merged
merged 1 commit into from
Dec 31, 2019

Conversation

drzraf
Copy link
Contributor
@drzraf drzraf commented Dec 22, 2019

The raw filter return a new Markup(content) which may itself return content

if content is the empty string. The resulting output was [Object] instead of the expected empty string.

… the content

 if the content is an empty string or undefined.
The resulting output is [Object] instead of the (expected) empty string.
@drzraf drzraf force-pushed the raw-filter-empty-string branch from 7658a92 to ae6c641 Compare December 22, 2019 19:10
@serchavalos
Copy link
serchavalos commented Feb 4, 2020

Thanks for taking care of this issue! I just noticed the regression too.

@RobLoach Do you have an estimated date for the next release?

@serchavalos
Copy link

Hello @RobLoach! do you have an update yet?

@RobLoach
Copy link
Collaborator

Thanks for the ping! Hope to get a release out today.

@serchavalos
7D3E Copy link

Great! Thanks a lot

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.

4 participants
0