Skip to content
Snippets Groups Projects
Commit aa2daec2 authored by Ruben Backx's avatar Ruben Backx :coffee:
Browse files

Add markdown support for script feedback

parent 3e88a05f
No related branches found
No related tags found
2 merge requests!229Version 2.2.1,!228Add markdown support for script feedback
...@@ -12,6 +12,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ...@@ -12,6 +12,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
### Added ### Added
- Ability to import groups from csv file (@dsavvidi) - Ability to import groups from csv file (@dsavvidi)
- Markdown support for script feedback (@rwbackx)
### Changed ### Changed
### Fixed ### Fixed
......
...@@ -193,11 +193,10 @@ ...@@ -193,11 +193,10 @@
<th:block <th:block
th:each="feedback : ${scriptResult.feedback}" th:each="feedback : ${scriptResult.feedback}"
th:if="${@authorizationService.canViewGroupFeedback(group.id, feedback)}"> th:if="${@authorizationService.canViewGroupFeedback(group.id, feedback)}">
<div class="font-200 mt-2"> <div class="article mt-2">
<p <p
style="max-width: 100ch" style="max-width: 100ch"
th:each="text : ${#strings.listSplit(feedback.feedback, '&#10;')}" th:utext="${@markdownService.markdownToHtml(feedback.feedback)}"></p>
th:text="${text}"></p>
</div> </div>
</th:block> </th:block>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment