diff --git a/views/index.html.twig b/views/index.html.twig index 58e3b879..1480831a 100644 --- a/views/index.html.twig +++ b/views/index.html.twig @@ -11,7 +11,7 @@ {% else %} {% endif %} - + {% if blockIndexing %} {% endif %} @@ -33,8 +33,8 @@

{{ name|default('Composer repository') }}

- - Last updated:
+ + Last updated:
diff --git a/views/package.html.twig b/views/package.html.twig index fa65efe9..77676494 100644 --- a/views/package.html.twig +++ b/views/package.html.twig @@ -97,7 +97,7 @@ {{ version.prettyVersion }} {%- elseif version.distType -%} {{ version.prettyVersion }} - {%- elseif version.sourceUrl matches '#^https?:\/\/#' -%} + {%- elseif version.sourceUrl matches '#^https?:\\/\\/#' -%} {{ version.prettyVersion }} {%- else -%} {{ version.prettyVersion }}