typecho 1.2版本如何把文章内的链接设置成新窗口打开
warning:
这篇文章距离上次修改已过182天,其中的内容可能已经有所变动。
找到/var/Utils/HyperDown.php文件,将539行的
"<a href=\"{$this->_definitions[$matches[2]]}\">{$escaped}</a>"
改成
"<a href=\"{$this->_definitions[$matches[2]]}\" target=\"_blank\">{$escaped}</a>"