Skip to content

Commit

Permalink
Merge pull request #179 from lohanidamodar/fix-dart-flutter-escaping-…
Browse files Browse the repository at this point in the history
…default-chars

marking escapeDollarSign as htmlsafe
  • Loading branch information
eldadfux authored May 19, 2021
2 parents fa94c9f + 0a1ed05 commit aa0ab8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SDK/SDK.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public function __construct(Language $language, Spec $spec)
}, ['is_safe' => ['html']]));
$this->twig->addFilter(new TwigFilter('escapeDollarSign', function ($value) {
return str_replace('$', '\$', $value);
}));
}, ['is_safe'=>['html']]));
$this->twig->addFilter(new TwigFilter('paramsQuery', function ($value) {
$query = '';

Expand Down

0 comments on commit aa0ab8d

Please sign in to comment.