Descriptions were not separated into tags

This commit is contained in:
Mike van Riel
2015-06-13 20:27:27 +02:00
committed by Mike van Riel
parent ab3ebf467c
commit 53d5adb324
3 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -100,8 +100,8 @@ class DescriptionFactory
$tagCount = 0;
$tags = [];
for ($i = 1; $i < $count; $i += 2) {
$tokens[$i] = '%' . ++$tagCount . '$s';
$tags[] = $this->tagFactory->create($tokens[$i], $context);
$tokens[$i] = '%' . ++$tagCount . '$s';
}
//In order to allow "literal" inline tags, the otherwise invalid