|
|
@@ -311,7 +311,7 @@ function render_read_mode_sent(iterator) {
|
|
|
let html = "<span class='tran_sent' lang='" + oneTran.lang + "' channal='" + oneTran.channal + "'>";
|
|
|
|
|
|
//将绝对链接转换为 用户连接的主机链接
|
|
|
- oneTran.text = oneTran.text.replace(/[A-z]*.wikipali.org/g,location.host);
|
|
|
+ //oneTran.text = oneTran.text.replace(/www-[A-z]*.wikipali.org/g,location.host);
|
|
|
|
|
|
html += marked(term_std_str_to_tran(oneTran.text, oneTran.channal, oneTran.editor, oneTran.lang));
|
|
|
html += "</span>";
|
|
|
@@ -920,7 +920,8 @@ function render_one_sent_tran_a(iterator, diff = false) {
|
|
|
let sid = iterator.book + "-" + iterator.para + "-" + iterator.begin + "-" + iterator.end;
|
|
|
|
|
|
//将绝对链接转换为 用户连接的主机链接
|
|
|
- let showText = iterator.text.replace(/[A-z]*.wikipali.org/g,location.host);
|
|
|
+ //let showText = iterator.text.replace(/www-[A-z]*.wikipali.org/g,location.host);
|
|
|
+ let showText = iterator.text;
|
|
|
|
|
|
if (iterator.text == "") {
|
|
|
if (typeof iterator.channalinfo == "undefined") {
|