Ricardo Wurmus <rek...@elephly.net> writes:
> pelzflorian (Florian Pelz) <pelzflor...@pelzflorian.de> writes: > >> On Wed, Sep 09, 2020 at 11:35:06PM +0200, Ricardo Wurmus wrote: >>> Hi Guix, >>> >>> this page looks wrong: https://guix.gnu.org/packages/mpc-1.1.0/ >>> >>> The non-breaking space is rendered as “GNU<*ENTITY*>nbspMPC”. The >>> attached patch processes the SHTML to remove *ENTITY* nodes, replacing >>> the “nbsp” entity with an actual non-breaking space; other entities are >>> silently converted to a single space. >>> […] >>> + (match entity >>> + ("nbsp" (string #\xa0)) >>> + (_ " ")))) >> >> Nice find. LGTM as far as I can tell, except it would be nice if the ... / >> … in >> <http://guix.gnu.org/de/packages/guile-hashing-1.2.0/> were not rendered as >> a space. > > I will add another case for “hellip”. > > I could also convert all descriptions and extract all *ENTITY* tags to > see what entities there are to be be dealt with. I only saw “hellip” and no other entities, so I added an extra case for “hellip” and pushed the change. Thanks for your comments! -- Ricardo