๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #6899

Bug#295849: html2text: Do not strip trailing spaces in <pre> contents

#6899
From: Vincent Lefevre
Date: Mon, 30 Nov 2026 18:10
12 lines
2154 bytes
Control: found -1 2.4.0-1

Still occurs in Debian:

qaa:~> echo '<pre>.    </pre>' | html2text | hd
00000000  2e 0a                                             |..|
00000002

-- 
Vincent Lefรจvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)
Technical Details
Message-ID: <O5dZ7-fanh-13@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O5dZ7-fanh-15@gated-at.bofh.it> <O5dZ7-fanh-15@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Vincent Lefevre <vincent@vinc17.net>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#295849: html2text: Do not strip trailing spaces in <pre> contents
Date: Mon, 30 Nov 2026 19:10:01 +0100
Message-ID: <O5dZ7-fanh-13@gated-at.bofh.it>
References: <O5dZ7-fanh-15@gated-at.bofh.it> <O5dZ7-fanh-15@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Nov 30 18:01:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.651
Reply-To: Vincent Lefevre <vincent@vinc17.net>, 295849@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: bruno.naibert@gmail.com
X-Debian-Pr-Message: followup 295849
X-Debian-Pr-Package: html2text
X-Debian-Pr-Keywords: fixed-upstream
X-Debian-Pr-Source: html2text
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Mailer-Info: https://www.vinc17.net/mutt/
User-Agent: Mutt/2.4.3+80 (31d45f3e) vl-188789 (2026-11-27)
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006123
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 12
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 30 Nov 2026 18:59:28 +0100
X-Original-Message-ID: <20261130175928.GA187469@qaa.vinc17.org>
X-Original-References: <20050218150228.GA6602@dixsept.loria.fr> <20050218150228.GA6602@dixsept.loria.fr>