[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#32281: shr.el align support patch
From: |
Bad Blue Bull |
Subject: |
bug#32281: shr.el align support patch |
Date: |
Thu, 26 Jul 2018 17:06:29 +0300 |
Here's a patch for shr.el that makes it handle "align" attribute for headers, paragraphs and lists, works only when monospace font is used (becoz of lame implementation of fill-paragraph). Also default value of shr-use-fonts set to nil so monospace fonts are used by default.
So now if shr-use-fonts is nil then page gets filled, if it's non nil then then it will be rendered like current version of shr.el does it, without filling and justification (see pics).
shr.el.diff is a diff file, shr.el is a patched version of shr.el
shr.el.diff
Description: Text Data
fill.png
Description: PNG image
no_fill.png
Description: PNG image
shr.el
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#32281: shr.el align support patch,
Bad Blue Bull <=