]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
placeholder.svg: Partially revert the changes from c0e42cb. (#28216)
authorXhmikosR <xhmikosr@gmail.com>
Sat, 9 Feb 2019 11:10:29 +0000 (13:10 +0200)
committerGitHub <noreply@github.com>
Sat, 9 Feb 2019 11:10:29 +0000 (13:10 +0200)
It broke the example include.

site/_includes/icons/placeholder.svg

index ba1461aade3c3dbe8f1053790f01300e92f842e9..36883e82dbd63db552dd1689fb6ae61c865723d9 100644 (file)
@@ -25,7 +25,7 @@
 {%- endif -%}
 
 {%- capture svg -%}
-<svg xmlns="http://www.w3.org/2000/svg" width="{{ width }}" height="{{ height }}"{% if title != ' ' or text != ' ' %} aria-label="{% if title != ' ' %}{{ title }}{% if text != ' ' %}: {% endif %}{% endif %}{% if text != ' ' %}{{ text }}{% endif %}"{% endif %} class="bd-placeholder-img{% if class != '' %} {{ class }}{% endif %}" preserveAspectRatio="xMidYMid slice" role="img" focusable="false">
+<svg class="bd-placeholder-img{% if class != '' %} {{ class }}{% endif %}" width="{{ width }}" height="{{ height }}" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false" role="img"{% if title != ' ' or text != ' ' %} aria-label="{% if title != ' ' %}{{ title }}{% if text != ' ' %}: {% endif %}{% endif %}{% if text != ' ' %}{{ text }}{% endif %}"{% endif %}>
   {% if title != ' ' %}<title>{{ title }}</title>{% endif %}
   <rect width="100%" height="100%" fill="{{ background }}"/>
   {% if text != ' ' %}<text x="50%" y="50%" fill="{{ color }}" dy=".3em">{{ text }}</text>{% endif %}