helpMHonArc - Support: sr #105688, Mhonarc generates invalid HTML...

 
 

sr #105688: Mhonarc generates invalid HTML when "message not available"

Submitted by:  None
Submitted on:  Mon 04 Dec 2006 03:54:08 AM UTC  
 
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: Duplicate
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Closed
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 03 Jan 2011 05:03:44 PM UTC, comment #2:

This is the same as bug #17660, and is being tracked thre.

Earl Hood <ehood>
Project Administrator
Tue 05 Dec 2006 01:12:40 AM UTC, comment #1:

I believe the problem is that the nesting order for TLINONEEND and TSUBLISTEND is backwards. In mthread.pl:

if ($DoMissingMsgs) {
for ($i=$depth; $i > 0; --$i) {
++$level;
&print_thread_var($handle, $idx, \$TLINONE);
&print_thread_var($handle, $idx, \$TSUBLISTBEG)
if $level <= $TLEVELS;
}
}

and, then, later:

if ($DoMissingMsgs && !($attop || $single)) {
for ($i=$depth; $i > 0; --$i) {
&print_thread_var($handle, $idx, \$TLINONEEND);
&print_thread_var($handle, $idx, \$TSUBLISTEND)
if $level <= $TLEVELS;
--$level;
}
}

For proper nesting, we should TSUBLISTEND before TLINONEEND.

Anonymous
Mon 04 Dec 2006 03:54:08 AM UTC, original submission:

The Mhonarc thread summaries contain invalid HTML when a message is not available.

For example, see:

http://www.ibiblio.org/pub/linux/docs/linux-doc-project/mail_archives/ldp-docbook/threads.html

Note that the "message not available" entries do not contain correctly nested tags.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ehood (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 03 Jan 2011 05:03:44 PM UTCehoodStatusNone=>Duplicate
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1