From 01e7f1237af1fa33a1feb0d07d5bb2e5e438962e Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 12 Jul 2011 14:37:25 +0000 Subject: [PATCH] Split hrefs into domain and path components; recode only domain. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@338 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- Writers/bkmk_whtml.py | 2 +- bkmk_objects.py | 49 +++++++++++++++++++++++++++++++++++-------- bkmk_parser.py | 3 ++- doc/ANNOUNCE | 26 ++--------------------- 4 files changed, 45 insertions(+), 35 deletions(-) diff --git a/Writers/bkmk_whtml.py b/Writers/bkmk_whtml.py index 309fdcf..ad109f8 100644 --- a/Writers/bkmk_whtml.py +++ b/Writers/bkmk_whtml.py @@ -49,7 +49,7 @@ class writer_html(Writer): self.outfile.write(ind_s*level + "

\n") def bookmark(self, b, level): - self.outfile.write(ind_s*(level+1) + '