Tk Library Source Code

View Ticket
Login
Ticket UUID: 1105010
Title: Font properties are printed twice
Type: Bug Version: None
Submitter: lucianoes Created on: 2005-01-19 04:59:14
Subsystem: html Assigned To: andreas_kupries
Priority: 1 Zero Severity:
Status: Closed Last Modified: 2005-01-20 05:00:05
Resolution: Fixed Closed By: andreas_kupries
    Closed on: 2005-01-19 22:00:05
Description:
In my tests with Tcllib 1.6:

% ::html::font size="18"

<font size="18"size="18">

I inspected the source and found this in line 1183:

::set param [tagParam font [join $args]][join $args]

[join $args] is called twice for some reason. I guess that is what causes the bug.

The source of Tcllib 1.7 looks just the same.

Luciano ES
User Comments: andreas_kupries added on 2005-01-20 05:00:05:
Logged In: YES 
user_id=75003

Fixed in CVS. Added some tests as well.