Your message dated Fri, 01 Dec 2023 20:16:23 +0000
with message-id <[email protected]>
and subject line Legacy bug that does not affect supported 3.x.
has caused the Debian Bug report #448832,
regarding txt2tags: Invalid blockquote with xhtml output
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 [email protected]
immediately.)
--
448832: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=448832
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: txt2tags
Version: 2.3-1
Severity: normal
Tags: patch
Hi,
txt2tags fails to produce valid xhtml output in blockquote mode:
$ txt2tags -t xhtml -H -i - -o -
<RET>
<TAB>invalid quotation
<CTRL-D>
<blockquote>
invalid quotation
</blockquote>
should be:
<blockquote><p>
quotation
</p></blockquote>
Please note that this is *unrelated* with the known problem described at the
begining
of /usr/bin/txt2tags:
#XXX Paragraph separation not valid inside Quote
# Quote will not have <p></p> inside, instead will close and open
# again the <blockquote>. This really sux in CSS, when defining a
# diferent background color. Still don't know how to fix it.
Here is a fix for the problem I'm describing (NOT fixing the paragraph
separation bug):
/usr/bin/txt2tags, line 634 (and following) becomes:
'img' : '<img~A~ src="\a" border="0" alt=""/>',
'blockQuoteOpen' : '<blockquote><p>' ,
'blockQuoteClose' : '</p></blockquote>'
},
Once this patch has been applied:
$ txt2tags -t xhtml -H -i - -o -
<RET>
<TAB>valid quotation
<CTRL-D>
<blockquote><p>
valid quotation
</p></blockquote>
One could fix it a few lines above instead, in the html part (I don't know if
<BLOCKQUOTE> without <P> is valid html). It's a very annoying bug (although
quite easy
to fix) because txt2tags produces otherwise nice valid xhtml (AFAICT).
Regards,
Gabriel Kerneis
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (990, 'stable'), (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.21-2-686
Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1)
Versions of packages txt2tags depends on:
ii python 2.4.4-2 An interactive high-level object-o
txt2tags recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Hi,
Legacy bug that does not affect supported 3.x.
Closing.
Regards
Phil
--
Playing the game for the games sake.
* Debian Maintainer
Web:
* Debian Wiki: https://wiki.debian.org/PhilWyett
* Website: https://kathenas.org
Social:
* Instagram: kathenasorg
* Threads: @kathenasorg
signature.asc
Description: This is a digitally signed message part
--- End Message ---