Browse Source

模版正文支持术语

visuddhinanda 4 years ago
parent
commit
4f80c3893e
1 changed files with 3 additions and 1 deletions
  1. 3 1
      app/term/note.js

+ 3 - 1
app/term/note.js

@@ -76,7 +76,9 @@ function note_sent_edit_dlg_init() {
 function note_init(input) {
 	if (input) {
 		let output = "<div>";
-		output += marked(input);
+		//output += marked(input);
+		output += marked(term_std_str_to_tran(input, "", "", "en"));
+
 		output += "</div>";
 
 		let newString = output.replace(/\{\{/g, '<span class="note_shell"><note info="');