dochub-sdk 0.1.179 → 0.1.180
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -161,7 +161,10 @@ export class DocHubDocumentProto extends DocHubComponentProto implements IDocHub
|
|
161
161
|
}
|
162
162
|
// Транслируем по шаблону
|
163
163
|
if (template) {
|
164
|
-
result
|
164
|
+
result = {
|
165
|
+
...template,
|
166
|
+
data: DocHub.tools.mustache.render(template.data.toString(), result.data)
|
167
|
+
}
|
165
168
|
}
|
166
169
|
// Вызываем метод обработки полученного контента, если это требуется
|
167
170
|
(template || (this.getType() === DocHubDocumentType.content)) && this.processingContent(result);
|