diff --git a/strange_eons_to_arkhamdb.js b/strange_eons_to_arkhamdb.js index a15db72..6c84094 100644 --- a/strange_eons_to_arkhamdb.js +++ b/strange_eons_to_arkhamdb.js @@ -82,6 +82,7 @@ function leftPad(str, len, fill) { function build_card(component) { function substitute_tags(str) { + str = str.trim(); str = str.replace("", String(component.getName())); for (tag in tag_replacements) {