X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=Writers%2Fbkmk_whtml.py;h=ad109f82686ac70c16e514212cbc5f278659efa8;hb=6eae6e394f44a55e5be10aa59408bdf76d0af9e0;hp=b4c4dab5c59ff3c0a28a7698376757e39efb542a;hpb=d9f2f4316537aea2cf87b2f77bf7d78eb54978a4;p=bookmarks_db.git diff --git a/Writers/bkmk_whtml.py b/Writers/bkmk_whtml.py index b4c4dab..ad109f8 100644 --- a/Writers/bkmk_whtml.py +++ b/Writers/bkmk_whtml.py @@ -1,9 +1,19 @@ -""" - Convert a bkmk database back to bookmarks.html +"""Convert a bkmk database back to bookmarks.html - Written by Broytman. Copyright (C) 2000-2010 PhiloSoft Design +This file is a part of Bookmarks database and Internet robot. """ +__version__ = "$Revision$"[11:-2] +__revision__ = "$Id$"[5:-2] +__date__ = "$Date$"[7:-2] +__author__ = "Oleg Broytman " +__copyright__ = "Copyright (C) 2000-2011 PhiloSoft Design" +__license__ = "GNU GPL" + +__all__ = ['writer_html'] + + +from m_lib.defenc import default_encoding from bkmk_objects import Writer, BKMK_FORMAT, quote_title @@ -39,7 +49,9 @@ class writer_html(Writer): self.outfile.write(ind_s*level + "

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