From fbf69483bc8df49cd9f0ce85c79ada2bbafdfabf Mon Sep 17 00:00:00 2001 From: luchenqun Date: Fri, 22 Dec 2017 09:59:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B9=A6=E7=AD=BE=E9=A2=98=E7=9B=AE=E4=B8=BA?= =?UTF-8?q?=E7=A9=BA=E9=BB=98=E8=AE=A4=E6=97=A0=E6=A0=87=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/parse_html.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/parse_html.js b/common/parse_html.js index 51644bd..7c98fec 100644 --- a/common/parse_html.js +++ b/common/parse_html.js @@ -17,7 +17,7 @@ var parsehtml = function(file, callback) { anchors.each(function(i, e) { var add_date, name, bookmark, tags, url; url = $(e).attr("href"); - name = $(e).text(); + name = $(e).text() || "无标题"; add_date = $(e).attr("add_date"); tags = new Array(); $(e).parents("dl").each(function(ii, ee) {