@@ -51,7 +51,7 @@ |
||
| 51 | 51 | { |
| 52 | 52 | $format = $this->chooseFormat($format); |
| 53 | 53 | |
| 54 | - return '<img src="'.$this->getCachedImageUrl($format, $image->name).'" alt="'.$image->description.'" '.$attributes. '>'; |
|
| 54 | + return '<img src="'.$this->getCachedImageUrl($format, $image->name).'" alt="'.$image->description.'" '.$attributes.'>'; |
|
| 55 | 55 | } |
| 56 | 56 | |
| 57 | 57 | protected function chooseFormat($format) |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | $i = 1; |
| 24 | 24 | |
| 25 | 25 | while ($completed == false) { |
| 26 | - $newSlug = $slug .'-'.$i; |
|
| 26 | + $newSlug = $slug.'-'.$i; |
|
| 27 | 27 | if (!$relatedSlugs->contains('slug', $newSlug)) { |
| 28 | 28 | return $newSlug; |
| 29 | 29 | } |