Skip to content

Commit

Permalink
#1788 Update format when saving template library to sdf
Browse files Browse the repository at this point in the history
  • Loading branch information
porcelain11 committed Oct 28, 2022
1 parent 78a7a30 commit 87bfb43
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ export class SdfSerializer implements Serializer<Array<SdfItem>> {
res += molSerializer.serialize(item.struct)

Object.keys(item.props).forEach((prop) => {
res += '> <' + prop + '>\n'
res += item.props[prop] + '\n\n'
res += `> <${prop}>\n`
res += `${item.props[prop]}\n\n`
})

return res + '$$$$'
return `${res}$$$$\n`
}, '')
}
}

0 comments on commit 87bfb43

Please sign in to comment.