fix: parameter parsing error in image URL (#1022)
This commit is contained in:
parent
8da583d403
commit
ee88cec270
1 changed files with 2 additions and 3 deletions
|
@ -94,9 +94,9 @@
|
|||
{% continue %}
|
||||
{% endunless %}
|
||||
|
||||
{% assign _pair = _attr | remove: '"' | split: '=' %}
|
||||
{% assign _pair = _attr | split: '="' %}
|
||||
{% capture _key %}{{ _pair | first }}{% endcapture %}
|
||||
{% capture _value %}{{ _pair | last }}{% endcapture %}
|
||||
{% capture _value %}{{ _pair | last | remove: '"' }}{% endcapture %}
|
||||
|
||||
{% case _key %}
|
||||
{% when 'width' %}
|
||||
|
@ -110,7 +110,6 @@
|
|||
{% when 'class' %}
|
||||
{% assign _class = _value %}
|
||||
{% endcase %}
|
||||
|
||||
{% endfor %}
|
||||
|
||||
<!-- take out classes -->
|
||||
|
|
Loading…
Reference in a new issue