Changed container to template literal

This commit is contained in:
Simon Mattila 2019-09-19 01:18:43 +02:00
parent bab6b42e74
commit c03758a91c

View File

@ -38,7 +38,11 @@ module.exports = {
],
[
'container',
{ type: 'expander', before: info => '<details><summary>' + info + '</summary>\n', after: '</details>\n' }
{
type: 'expander',
before: info => `<details><summary>${info}</summary>\n`,
after: '</details>\n'
}
]
]
}