diff options
author | benadha <benawiadha@gmail.com> | 2021-01-30 12:43:18 +0700 |
---|---|---|
committer | benadha <benawiadha@gmail.com> | 2021-01-30 12:43:18 +0700 |
commit | 698083d90737912a75abe08d45c2d3a10c3facb3 (patch) | |
tree | c5aca4daa631857b03dfe33d190a3bf831fce0bc | |
parent | a5318a171e2e148a389732f06c0aec0ebc4c60e7 (diff) | |
download | epy-698083d90737912a75abe08d45c2d3a10c3facb3.tar.gz |
Inline format: bold for header
-rwxr-xr-x | epy.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -564,6 +564,7 @@ class HTMLtoLines(HTMLParser): sect[self.sectsindex[n]] = len(text) if n in self.idhead: text += [i.rjust(width//2 + len(i)//2)] + [""] + formatting["bold"] += [[j, 0, len(text[j])] for j in range(startline, len(text))] elif n in self.idinde: text += [ " "+j for j in textwrap.wrap(i, width - 3) |