Skip to content

Commit

Permalink
fix(JSafeHtml): reactivity
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <noreply@github.com>
  • Loading branch information
ferferga authored Aug 29, 2024
1 parent 83a1e84 commit 39d812e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/lib/JSafeHtml.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface Props {
const JSafeHtml = (props: Props) => h(
createVNode(Static, undefined, sanitizeHtml(props.html, Boolean(props.markdown))),
{ key: props.html }
{ key: `${props.markdown}-${props.html}` }
);
JSafeHtml.inheritAttrs = false;
Expand Down

0 comments on commit 39d812e

Please sign in to comment.