mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-18 13:06:32 -06:00
fix: remove quebra de linha no index final do array quando usado variavel no Typebot
This commit is contained in:
parent
69a323691f
commit
96be63f50b
@ -412,7 +412,7 @@ export class TypebotService {
|
||||
text += element.text;
|
||||
}
|
||||
|
||||
if (element.type === 'p' || element.type === 'inline-variable' || element.type === 'a') {
|
||||
if (element.children && (element.type === 'p' || element.type === 'a' || element.type === 'inline-variable' || element.type === 'variable')) {
|
||||
for (const child of element.children) {
|
||||
text += applyFormatting(child);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user