Skip to content

Commit 8888133

Browse files
André DietrichAndré Dietrich
authored andcommitted
fix: cleaning of quizzes
1 parent 5aa9d1d commit 8888133

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/export/project.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ function markdownToText(md: string): string {
754754
.replace(/`[^`]+`/g, '') // inline code
755755
.replace(/--\{\{[\d\s\-]+\}\}--/g, '') // LiaScript block animations --{{n}}--
756756
.replace(/\{\{[^\}]+\}\}/g, '') // LiaScript inline animations {{n}} / {{n-m}}
757-
.replace(/\[\[[^\]]+\}\]/g, '') // LiaScript quizzes [[X]]
757+
.replace(/\[\[[^\]]+\]\]/g, '') // LiaScript quizzes [[X]]
758758
.replace(/\[\([^\)]+\)\]/g, '') // LiaScript quizzes [(X)]
759759
.replace(/@[\w.]+(\([^)]*\))?/g, '') // LiaScript macros @Macro or @Macro(...)
760760
.replace(/<[^>]+>/g, '') // HTML tags

0 commit comments

Comments
 (0)