Skip to content

Commit

Permalink
Fix broken images in integrations, release 2.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
krystofkomanec committed Jan 30, 2024
1 parent 791049c commit 145fe01
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ This document template for DSW is available as open-source via GitHub Repository

## Changelog

### 2.10.1

- Fix broken images in Word

### 2.10.0

- Adjusted to template metamodel version 12 (released in DSW 4.1.0)
Expand Down
2 changes: 1 addition & 1 deletion src/for-word.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
{% if reply is of_type("StringReply") %}
<span>{{reply.value}}</span>
{% else %}
<span>{{reply.value|markdown}}</span>
<span>{{reply.value.rsplit(" ![]")[0]|markdown}}</span>
{% if reply.is_integration %}
{# Integration #}
{% set integration = question.integration %}
Expand Down
2 changes: 1 addition & 1 deletion template.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"organizationId": "dsw",
"templateId": "questionnaire-report",
"version": "2.10.0",
"version": "2.10.1",
"name": "Questionnaire Report",
"description": "Exported questions and answers from a questionnaire",
"metamodelVersion": 12,
Expand Down

0 comments on commit 145fe01

Please sign in to comment.