Skip to content

Do only not escape twit filter output when EditInPlace is false #102

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 5 commits into from
Jun 15, 2017

Conversation

Nyholm
Copy link
Member

@Nyholm Nyholm commented Jun 15, 2017

This will fix #100 and replace #101

@@ -35,7 +35,7 @@
"matthiasnoback/symfony-dependency-injection-test": "^1.0",
"guzzlehttp/psr7": "^1.3",
"nyholm/nsa": "^1.0",
"nyholm/symfony-bundle-test": "^1.0.1"
"nyholm/symfony-bundle-test": "^1.0.2"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will fix:

Symfony\Component\DependencyInjection\Exception\LogicException: Annotations cannot be enabled as the Doctrine Cache library is not installed.

$value = $this->transchoice($message, $count, $arguments, $domain, $locale);

if ($this->escapeOutput()) {
return twig_escape_filter($env, $value, 'html', null, true);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exept for the double space here, this PR is just perfect! 🎉

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. I thought StyleCI would fix that.

(Friendly ping) Maybe @GrahamCampbell wants to know about this.

@Nyholm Nyholm merged commit 72129ad into master Jun 15, 2017
@Nyholm Nyholm deleted the issue-100 branch June 15, 2017 17:21
@damienalexandre
Copy link
Contributor

Nice solution 👍 Thx!

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.

Translator should encode output again
3 participants