This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # See https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html | |
| echo ">> Import the Elasticsearch PGP Key" | |
| wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - | |
| echo ">> Installing from the APT Repository" | |
| echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-7.x.list | |
| apt-get update && apt-get -y install elasticsearch | |
| echo ">> Configure Elasticsearch to startup" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/vendor/magento/module-email/Model/Template/Filter.php b/vendor/magento/module-email/Model/Template/Filter.php | |
| index 1a7c3683820a..586cb485ee1f 100644 | |
| --- a/vendor/magento/module-email/Model/Template/Filter.php | |
| +++ b/vendor/magento/module-email/Model/Template/Filter.php | |
| @@ -618,6 +618,12 @@ public function transDirective($construction) | |
| } | |
| $text = __($text, $params)->render(); | |
| + | |
| + $pattern = '/{{.*?}}/'; |
OlderNewer