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

 
 

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

Submitter:  None
Submitted:  Mon 04 Dec 2006 03:54:08 AM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Duplicate
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Closed
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-01-03 ehood StatusNone Duplicate
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code