Skip to content

Commit

Permalink
fix: remove close tag error
Browse files Browse the repository at this point in the history
  • Loading branch information
ItalloDornelas committed Jan 3, 2024
1 parent 2841142 commit a1d2735
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/syncfusion/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ export class IaraSyncfusionAdapter
const removeDivTags = inference.richTranscript
.replace(/^<div>/, "")
.replace(/<\/div>$/, "");
this.insertTemplate(removeDivTags);
const removeDivParagraph = removeDivTags.replace(/(<\/div><div>)/, "");
this.insertTemplate(removeDivParagraph);
return;
}
}
Expand Down

0 comments on commit a1d2735

Please sign in to comment.