2
0

🐛 (whatsapp) Fix inline variable serializing

This commit is contained in:
Baptiste Arnaud
2024-01-11 00:14:55 +01:00
parent 006b9d6658
commit 9b5b277b5b
2 changed files with 22 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ export const convertRichTextToMarkdown = (
let extraNewLinesCount = 0
const test = richText
.reduce<string[]>((acc, node) => {
if (node.type === 'variable' || node.type === 'inline-variable') {
if (node.type === 'variable') {
return [
...acc,
...node.children.map(