[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#902381: marked as done (xterm: unneeded use of custom XHTML entities)



Your message dated Mon, 20 Aug 2018 17:53:02 +0000
with message-id <E1froMQ-000HEp-HT@fasolo.debian.org>
and subject line Bug#902381: fixed in xterm 335-1
has caused the Debian Bug report #902381,
regarding xterm: unneeded use of custom XHTML entities
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
902381: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=902381
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: xterm
Version: 333-1
Severity: minor
Tags: patch

With the attached patch, xterm no longer uses custom entity for non-breaking spaces in XHTML screen dumps. This makes the output shorter, more human-readable, easier to copy&paste between documents, and usable with web browsers that don't understand XHTML (such as elinks).

--
Jakub Wilk
--- xterm-333.orig/html.c
+++ xterm-333/html.c
@@ -98,8 +98,7 @@ dumpHtmlHeader(XtermWidget xw, FILE *fp)
 {
     fputs("<?xml version='1.0' encoding='UTF-8'?>\n", fp);
     fputs("<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'\n", fp);
-    fputs("  'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'\n", fp);
-    fputs("  [<!ENTITY s \"&#160;\">]>\n", fp);
+    fputs("  'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>\n", fp);
     fputs("<html xmlns='http://www.w3.org/1999/xhtml' lang='en' xml:lang='en'>\n", fp);
     fputs(" <head>\n", fp);
     fprintf(fp, "  <meta name='generator' content='%s'/>\n", xtermVersion());
@@ -288,7 +287,7 @@ dumpHtmlLine(XtermWidget xw, int row, FI
 		fputs("&gt;", fp);
 		break;
 	    case ' ':
-		fputs("&s;", fp);
+		fputs("\302\240", fp);
 		break;
 	    default:
 		fputc((int) chr, fp);

--- End Message ---
--- Begin Message ---
Source: xterm
Source-Version: 335-1

We believe that the bug you reported is fixed in the latest version of
xterm, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 902381@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sven Joachim <svenjoac@gmx.de> (supplier of updated xterm package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 20 Aug 2018 19:21:42 +0200
Source: xterm
Binary: xterm
Architecture: source
Version: 335-1
Distribution: unstable
Urgency: medium
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Sven Joachim <svenjoac@gmx.de>
Description:
 xterm      - X terminal emulator
Closes: 902381
Changes:
 xterm (335-1) unstable; urgency=medium
 .
   * New upstream release.
     - Drop custom-entity from HTML-dump, use UTF-8 for &nbsp;
       (Closes: #902381).
   * Bump Standards-Version to 4.2.0, no changes needed.
Checksums-Sha1:
 5a9ccd64206b289c9e22be7e50c561903a6277f7 2406 xterm_335-1.dsc
 4d1ef9e15f51c99d4d570bbca87e95518e5659e0 1319009 xterm_335.orig.tar.gz
 ea7bffb6e4dde6b70504a7c0483d667ad300aae6 251 xterm_335.orig.tar.gz.asc
 0ee1b03e0786bedad96f64f6aacd169e8150505d 105412 xterm_335-1.debian.tar.xz
 0942ce7383a995899b8f8c5a9a4492a99d51c947 8352 xterm_335-1_source.buildinfo
Checksums-Sha256:
 6a3e63c1bd5d53a823edd02f0834825882f9c81d914559e243b7ba1ddb81092f 2406 xterm_335-1.dsc
 e0bf172a9bf301bd9d5ae27957f4f54687b5d22382fd2f4d872d0a4db47fcb96 1319009 xterm_335.orig.tar.gz
 4ceb4b46e59b7344e742600ce116416808e12d06e6e17ed3b46e843bbfc58756 251 xterm_335.orig.tar.gz.asc
 31ea8bbc4dc8fc747074855d14f849b9b5edd9f88c64608333d4146854a3d6e7 105412 xterm_335-1.debian.tar.xz
 ea238a818a62acf5356f170c1d0f3f762e38ae943042289f0a2da22ba2cf5b4c 8352 xterm_335-1_source.buildinfo
Files:
 8e5e0701b85757bf94410a89a22bb1cb 2406 x11 optional xterm_335-1.dsc
 635a0975e1bad9634af1d59c380b541d 1319009 x11 optional xterm_335.orig.tar.gz
 e6b037a69bd4ccb4eefd1e405ecc7dae 251 x11 optional xterm_335.orig.tar.gz.asc
 a10d30f6ac137b624e03b03497dd9f61 105412 x11 optional xterm_335-1.debian.tar.xz
 699e825166bcae8566134ddde49a8068 8352 x11 optional xterm_335-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEKF8heKgv5Jai5p4QOxBucY1rMawFAlt6+P8ACgkQOxBucY1r
MayRuRAAqawRK86NbdsDBfy5drzGqB344TpzMGv/7Iab+kS4T+8ZIDpoDBlNfqOI
fwnnec8+iV9lI3K/ySf68RZGEYCPW5iH4JIVUmmtyILUskfyuTe3agoC678w1DZC
qjFVOd1Paybh+nWRzDiBDcq1JNVDp5qqJPLo9bNWZX06H9UA//kD2p5s6NjmHBwe
CiIFue3ILrjKaEk88ob/r2UuHK4V/yE1kGC1EQnEfyF87KLvWrfODI1vPxpu9Doi
ih1GeI0DmeTafyGZoDcEaRoruaWhSUgM78y9WY6/+A/ce7tJ7VXY57C/Dz/JEp7q
BjlBEEiLZ8vSjNv5t33wiyq8CUGAKZQtZVELS8lKlYyuejW+4xGCnjQ+BbZLpORo
Ukr2ksWbaMcRPvNXX3RpyW4Tph+OjtYDQRajq4XZphx0Ci/Zc+jDhaDota413Uof
1FW8zEOznRFby/EYhgYBRubiIHakkNcNagQ+tFrs5FkAj0Wy+wGl/OlEFR3l8juH
QMAHfXsfLbTnwPOk0yM9D0TnMNFdwy4caB9kdVd7o26Vr3yx5KJAXsZKNZU2PMHS
TF7QAIYSAPKDGvkS0jEOWTM2X3Sl8xpvoiTEqB6rTjKKLv9BB1JrUr3O5bmQsZTI
jHxwJgUJNT4Wnhqk+WlmIbPnvk/wXLxo/JVw2ChurQI6dQ9b3HU=
=KC+6
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: