[Top][All Lists]

[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

Attachment: shr.el.diff
Description: Text Data

Attachment: fill.png
Description: PNG image

Attachment: no_fill.png
Description: PNG image

Attachment: shr.el
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]