Tcl Library Source Code

View Ticket
Login
Ticket UUID: 1890987
Title: Encoded chars in rss feeds
Type: Patch Version: None
Submitter: decosterjos Created on: 2008-02-11 08:56:25
Subsystem: app: tkchat Assigned To: patthoyts
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2026-11-21 11:21:37
Resolution: Out of Date Closed By: serhiy.storchaka
    Closed on: 2026-11-21 11:21:37
Description:
Hi,

Html-encoded chars (e.g. <) are not decoded before showing the rss info. This piece of code to be added to proc ::tkchat::rss::ShowRssInfo (tkchat_rss.tcl line 152) fixes this problem:

            if {![info exists a(title)] || [string length $a(title)] < 1} {
                set a(title) "(no title)"
            } else {
set a(title) [::htmlparse::mapEscapes $a(title)]
    }
    if {[info exists a(description)]} {
set a(description) [::htmlparse::mapEscapes $a(description)]
    }


Kind regards,

Jos.
User Comments: serhiy.storchaka added on 2026-11-21 11:21:37:

tkchat is not part of Tcllib.