Skip to content

Commit deef643

Browse files
committed
uses latte 2.6
1 parent 816347e commit deef643

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,20 @@
2626
"latte/latte": "Allows using Latte in templates"
2727
},
2828
"require-dev": {
29-
"nette/tester": "^2.0.1",
29+
"nette/tester": "^2.3.1",
3030
"nette/di": "^v3.0",
3131
"nette/forms": "^3.0",
3232
"nette/robot-loader": "^3.2",
3333
"nette/security": "^3.0",
34-
"latte/latte": "^2.5.1",
34+
"latte/latte": "^2.6",
3535
"tracy/tracy": "^2.6",
3636
"mockery/mockery": "^1.0",
3737
"phpstan/phpstan-nette": "^0.12"
3838
},
3939
"conflict": {
4040
"nette/di": "<3.0-stable",
4141
"nette/forms": "<3.0",
42-
"latte/latte": "<2.4",
42+
"latte/latte": "<2.6",
4343
"tracy/tracy": "<2.5"
4444
},
4545
"autoload": {

src/Bridges/ApplicationLatte/UIMacros.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public function macroControl(MacroNode $node, PhpWriter $writer)
114114
public function macroLink(MacroNode $node, PhpWriter $writer)
115115
{
116116
$node->modifiers = preg_replace('#\|safeurl\s*(?=\||$)#Di', '', $node->modifiers);
117-
return $writer->using($node)
117+
return $writer->using($node, $this->getCompiler())
118118
->write('echo %escape(%modify('
119119
. ($node->name === 'plink' ? '$this->global->uiPresenter' : '$this->global->uiControl')
120120
. '->link(%node.word, %node.array?)))'

0 commit comments

Comments
 (0)