Trim strings in substitute_tags
This commit is contained in:
parent
fb0a079666
commit
8db642fd48
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user