From f48c8c8211c1c8dbccfce413f6df9f9b1db0cda0 Mon Sep 17 00:00:00 2001 From: Maxim Tsoy Date: Thu, 7 Mar 2024 16:44:48 +0100 Subject: [PATCH] Workaround Asana html parser --- ci/asana-create-tasks.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/asana-create-tasks.js b/ci/asana-create-tasks.js index f10e84d7..be5ae8c5 100644 --- a/ci/asana-create-tasks.js +++ b/ci/asana-create-tasks.js @@ -105,6 +105,9 @@ const asanaCreateTasks = async () => { .replace('[[release_url]]', getLink(releaseUrl, 'Autoconsent Release')) .replace('[[notes]]', releaseNotes) .replace(/<\/?p>/ig, '\n') + // Asana supports only h1 and h2 + .replace('

', '

').replace('

', '') + .replace('

', '

').replace('

', '') // Updating task and moving to Release section... console.error(JSON.stringify(updatedNotes))