소스 검색

模版正文支持术语

visuddhinanda 4 년 전
부모
커밋
4f80c3893e
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  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="');