@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | : $email; |
51 | 51 | |
52 | 52 | $attributesStr = $attributes |
53 | - ? (' ' . $this->createAttributesString($attributes)) |
|
53 | + ? (' '.$this->createAttributesString($attributes)) |
|
54 | 54 | : ''; |
55 | 55 | |
56 | 56 | return sprintf('<a%s href="mailto:%s">%s</a>', $attributesStr, $email, $label); |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | $attr = array(); |
70 | 70 | |
71 | 71 | foreach ($attributes as $name => $value) { |
72 | - $attr[] = $escape($name) . (strlen($value) ? ('="' . $escapeAttr($value) . '"') : ''); |
|
72 | + $attr[] = $escape($name).(strlen($value) ? ('="'.$escapeAttr($value).'"') : ''); |
|
73 | 73 | } |
74 | 74 | |
75 | 75 | return implode(' ', $attr); |