Skip to content

Commit c02433a

Browse files
authored
fix: avoid line break for <picture> element
1 parent 28e6958 commit c02433a

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

layouts/partials/images/picture.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
<picture
2-
{{ with .wrapperClass }}class="{{ . }}"{{ end }}
3-
{{ range .attrs }}{{ . | safeHTMLAttr }}{{ end }}>
1+
<picture {{ with .wrapperClass }}class="{{ . }}"{{ end }} {{ range .attrs }}{{ . | safeHTMLAttr }}{{ end }}>
42
{{- range .sources }}
53
<source srcset="{{ .srcset }}" type="{{ .type }}" />
64
{{- end }}

0 commit comments

Comments
 (0)