fix generateTags.

This commit is contained in:
Christopher Jeffrey 2014-01-17 19:54:59 -06:00
parent 1236f23f9e
commit 8384a185a6
1 changed files with 4 additions and 2 deletions

View File

@ -6265,8 +6265,10 @@ function generateTags(style, text) {
open = '{' + val + '-' + key + '}' + open;
close += '{/' + val + '-' + key + '}';
} else {
open = '{' + key + '}' + open;
close += '{/' + key + '}';
if (val) {
open = '{' + key + '}' + open;
close += '{/' + key + '}';
}
}
});