Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#26 improper tag array handling

1.3.x
closed
None
5
2012-10-11
2002-02-09
Cuthbert Cat
No

In SetHTMLMode (transform.php) the tag variable can be
either array or regular text. At the start we notice
this, but when dealing with the stack we don't. This
causes /Array tags to appear, and potential mixing of
lists that are both array-types. The patch just sets
rtag (real tag) to be the text tag, and uses that
thereafter.

Discussion

  • Cuthbert Cat
    Cuthbert Cat
    2002-02-09

    Diff file.

     
    Attachments
  • Cuthbert Cat
    Cuthbert Cat
    2002-02-09

    Logged In: YES
    user_id=11619

    Sorry - should have said, this applies to the CVS version:
    Revision 1.40, Thu Jan 31 05:10:28 2002 UTC by dairiki

     
  • Logged In: YES
    user_id=45814

    Thanks! I think it's fixed now (in CVS).

    (Instead of using $rtag, I just set $tag = $tag[0] up near
    the top if $tag is an array...)