export default function()

in js/src/tagAttrs.js [14:27]


export default function(attributes) {
  let htmlAttrs = '';
  for (const k in attributes) {
    let v = attributes[k];
    if (BOOLEAN_ATTRIBUTES[k]) {
      v = v ? k : null;
    }
    if (v == null) {
      continue;
    }
    htmlAttrs += ` ${htmlEscape(k)}="${htmlEscape(v.toString())}"`;
  }
  return htmlAttrs;
}