URI: 
       Properly expand the tabs in file() - stahg-gopher - Static Mercurial page generator for gopher
  HTML hg clone https://bitbucket.org/iamleot/stahg-gopher
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR changeset 15e5d8f1706c26069aa11b9fd108ad583024b8f2
   DIR parent 1a8db084dc14790d9763d8d10f025e5504253098
  HTML Author: Leonardo Taccari <iamleot@gmail.com>
       Date:   Sun,  7 Jul 2019 16:28:14 
       
       Properly expand the tabs in file()
       
       Previously tabs were expanded later by gph_escape_text() leading to
       suboptimal results.
       
       Diffstat:
        stahg-gopher.py |  2 +-
        1 files changed, 1 insertions(+), 1 deletions(-)
       ---
       diff -r 1a8db084dc14 -r 15e5d8f1706c stahg-gopher.py
       --- a/stahg-gopher.py   Fri Jun 28 11:30:57 2019 +0200
       +++ b/stahg-gopher.py   Sun Jul 07 16:28:14 2019 +0200
       @@ -303,7 +303,7 @@
                        for num, line in enumerate(content.splitlines(), start=1):
                            print(gph_escape_text('{num:6d} {line}'.format(
                                num=num,
       -                        line=line)), file=f)
       +                        line=line.expandtabs())), file=f)
                    except:
                        print('Binary file.', file=f)