diff --git a/common/parse_html.js b/common/parse_html.js index 951871f..2698aa7 100644 --- a/common/parse_html.js +++ b/common/parse_html.js @@ -29,7 +29,7 @@ var parsehtml = function(file, callback) { var folder, tag; folder = $(ee).prev(); tag = folder.text().replace(/(^\s*)|(\s*$)/g, '').replace(/\s+/g, ' '); - if (tag != "Bookmarks" && tag != "书签栏") { + if (tag != "Bookmarks" && tag != "书签栏" && tag != "") { if (allTags.indexOf(tag) == -1) { allTags.push(tag); } diff --git a/schema.sql b/schema.sql index 93a3db3..4cefb2c 100644 --- a/schema.sql +++ b/schema.sql @@ -1,6 +1,6 @@ -- 用户信息表 drop table if exists users; -CREATE TABLE `users` ( +CREATE TABLE `users` ( `id` int(11) NOT NULL AUTO_INCREMENT, -- id `username` varchar(255) DEFAULT NULL, -- 用户名 `password` varchar(255) DEFAULT NULL, -- 密码