'use strict' /* global hexo */ /* * Helper to add \n` } else { // New syntax let tmpResult = ' { if (item[attribute] === true) tmpResult += ' ' + attribute else tmpResult += ` ${attribute}="${item[attribute]}"` }) tmpResult += '>\n' result += tmpResult } }) return result })