Trim strings in substitute_tags

This commit is contained in:
Adam Goldsmith 2021-09-08 19:57:20 -04:00
parent fb0a079666
commit 8db642fd48
1 changed files with 1 additions and 0 deletions

View File

@ -82,6 +82,7 @@ function leftPad(str, len, fill) {
function build_card(component) {
function substitute_tags(str) {
str = str.trim();
str = str.replace("<fullname>", String(component.getName()));
for (tag in tag_replacements) {