aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2019-02-09 13:10:29 +0200
committerGitHub <[email protected]>2019-02-09 13:10:29 +0200
commit6c7dcc68829d91767e2656fe197d695294d1dece (patch)
treefaa6a4c42cc2ceb47cc2eff22017d7d4058ab9c0
parent1145365f6daf51b42dd40c7667887d3eb90c963c (diff)
downloadbootstrap-6c7dcc68829d91767e2656fe197d695294d1dece.tar.xz
bootstrap-6c7dcc68829d91767e2656fe197d695294d1dece.zip
placeholder.svg: Partially revert the changes from c0e42cb. (#28216)
It broke the example include.
-rw-r--r--site/_includes/icons/placeholder.svg2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/_includes/icons/placeholder.svg b/site/_includes/icons/placeholder.svg
index ba1461aad..36883e82d 100644
--- a/site/_includes/icons/placeholder.svg
+++ b/site/_includes/icons/placeholder.svg
@@ -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 %}