|
@@ -71,7 +71,7 @@ discard block |
|
|
block discarded – undo |
|
71
|
71
|
throw new Latte\CompileException('Please provide email address.'); |
|
72
|
72
|
} |
|
73
|
73
|
|
|
74
|
|
- return $writer->write('echo property_exists($this, "filters") ? %escape(call_user_func($this->filters->gravatar, ' . $arguments['email'] . ', ' . $arguments['size'] . ')) : $template->getGravatarService()->buildUrl(' . $arguments['email'] . ', ' . $arguments['size'] . ');'); |
|
|
74
|
+ return $writer->write('echo property_exists($this, "filters") ? %escape(call_user_func($this->filters->gravatar, '.$arguments['email'].', '.$arguments['size'].')) : $template->getGravatarService()->buildUrl('.$arguments['email'].', '.$arguments['size'].');'); |
|
75
|
75
|
} |
|
76
|
76
|
|
|
77
|
77
|
|
|
@@ -91,7 +91,7 @@ discard block |
|
|
block discarded – undo |
|
91
|
91
|
throw new Latte\CompileException('Please provide email address.'); |
|
92
|
92
|
} |
|
93
|
93
|
|
|
94
|
|
- return $writer->write('?> ' . ($node->htmlNode->name === 'a' ? 'href' : 'src') . '="<?php echo property_exists($this, "filters") ? %escape(call_user_func($this->filters->gravatar, ' . $arguments['email'] . ', ' . $arguments['size'] . ')) : $template->getGravatarService()->buildUrl(' . $arguments['email'] . ', ' . $arguments['size'] . ');?>" <?php'); |
|
|
94
|
+ return $writer->write('?> '.($node->htmlNode->name === 'a' ? 'href' : 'src').'="<?php echo property_exists($this, "filters") ? %escape(call_user_func($this->filters->gravatar, '.$arguments['email'].', '.$arguments['size'].')) : $template->getGravatarService()->buildUrl('.$arguments['email'].', '.$arguments['size'].');?>" <?php'); |
|
95
|
95
|
} |
|
96
|
96
|
|
|
97
|
97
|
|
Please login to merge, or discard this patch.