@@ -55,6 +55,9 @@ |
||
55 | 55 | return new Permalink($relativeFilePath, $relativeUrlPath); |
56 | 56 | } |
57 | 57 | |
58 | + /** |
|
59 | + * @return string |
|
60 | + */ |
|
58 | 61 | private function generatePermalinkPathname(SourceInterface $source) |
59 | 62 | { |
60 | 63 | $pathname = $source->relativePathname(); |
@@ -30,9 +30,9 @@ |
||
30 | 30 | * @var array |
31 | 31 | */ |
32 | 32 | protected static $addPlaceholderRe = array( |
33 | - '/^({%\s+block\s+(\w+).+?%})$/m', // {% %} style code |
|
34 | - '/^({%\s+endblock\s+%})$/m', // {% %} style code |
|
35 | - '/^({{.+?}})$/m', // {{ }} style code |
|
33 | + '/^({%\s+block\s+(\w+).+?%})$/m', // {% %} style code |
|
34 | + '/^({%\s+endblock\s+%})$/m', // {% %} style code |
|
35 | + '/^({{.+?}})$/m', // {{ }} style code |
|
36 | 36 | ); |
37 | 37 | |
38 | 38 | /** |