diff --git a/src/components/GeneralRenderer.vue b/src/components/GeneralRenderer.vue
index 7036224..317921e 100644
--- a/src/components/GeneralRenderer.vue
+++ b/src/components/GeneralRenderer.vue
@@ -21,7 +21,10 @@ const formattedLatex = ref('');
// 监听外部内容的变化,并同步更新内部内容
watch(() => props.contentInput, (newValue) => {
- localInput.value = newValue;
+ localInput.value = newValue.replaceAll('', '$')
+ .replaceAll('
', '$')
+ .replaceAll('/lt', '<')
+ .replaceAll('/gt', '>');
});
// 监听 localInput 的变化,实时更新渲染内容
diff --git a/src/pages/demoPages/podExercise/QuestionText.vue b/src/pages/demoPages/podExercise/QuestionText.vue
index ce82607..05ae05e 100644
--- a/src/pages/demoPages/podExercise/QuestionText.vue
+++ b/src/pages/demoPages/podExercise/QuestionText.vue
@@ -1,9 +1,11 @@
-
+
+