You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/image-attrs-to-posthtml-node.js
+12-10
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,11 @@ function convertToPosthtmlNode(obj) {
55
55
returnnode;
56
56
}
57
57
58
+
functionisValidSimpleWidthAttribute(width){
59
+
// `width` must be a single integer (not comma separated). Don’t use invalid HTML in width attribute. Use eleventy:widths if you want more complex support
test("#234 Use existing `width` attribute for `widths` config (comma separated widths are ignored as invalid. Discourage invalid `width` HTML attribute, use eleventy:widths instead)",asynct=>{
0 commit comments