Skip to content

Commit

Permalink
Merge pull request #904 from oslokommune/fix-markdown-rendering
Browse files Browse the repository at this point in the history
Fix Markdown rendering in descriptions
  • Loading branch information
simenheg authored Nov 3, 2023
2 parents 32e6ce6 + 24f5049 commit 098554a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ All notable changes to this project will be documented in this file. The format
- New key results are now given a start value of 0, a target value of 100, and
percentage as unit of measurement by default.

### Fixed

- Fixed Markdown rendering of descriptions on objective, key result, and
measurement detail pages.

### Security

- More security headers are now set: `Content-Security-Policy`,
Expand Down
2 changes: 1 addition & 1 deletion src/components/HTMLOutput.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div v-html="sanitizedHtml" />
<div class="md" v-html="sanitizedHtml" />
</template>

<script>
Expand Down

0 comments on commit 098554a

Please sign in to comment.