Skip to content

Commit 1dc3328

Browse files
authored
Fix: Markdown Rendering Issue on the TCR Page (#935)
fixes the markdown issue on the tcr page
1 parent 8ee1b7f commit 1dc3328

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

task-requests/details/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ const renderGithubIssue = async () => {
385385
],
386386
}),
387387
);
388-
const body = DOMPurify.sanitize(res?.body ?? '');
388+
const body = DOMPurify.sanitize(res?.body ?? '').replace(/\n/g, '\n\n');
389389
const html = converter.makeHtml(body);
390390
taskContainer.appendChild(
391391
createCustomElement({

0 commit comments

Comments
 (0)