This commit is contained in:
Alex Yatskov 2016-08-08 19:50:49 -07:00
parent afef392491
commit b080e30b14

View File

@ -207,8 +207,9 @@ class Translator {
}
applyTagMeta(tag) {
for (const prop in this.tagMeta[tag.name] || {}) {
tag[prop] = this.tagMeta[tag.name][prop] || tag[prop];
const symbol = tag.name.split(':')[0];
for (const prop in this.tagMeta[symbol] || {}) {
tag[prop] = this.tagMeta[symbol][prop];
}
}