HTML links

Harvey Eneman <[email protected]>
Newsgroups gmane.mail.exmh.user
Message-ID <[email protected]>
Hi All,

I finally got frustrated enough with the occasional failures of HTML links in 
this wonderful program to do something about it...

The forwarded message provides a simple example that can be used to 
demonstrate the issue.  If you hover over the link and, more importantly,
if you select it. you should note that the HTML escape sequence "&amp;" is 
embedded within the URL.

The solution to this issue appears to be a simple one-liner provided in the 
attached patch.

Harv

_______________________________________________
Exmh-users mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/exmh-users
html_links.tcl.patch (application/x-patch, 372 B)
*** html_links.tcl.orig	2001-05-14 10:51:38.000000000 -0700
--- html_links.tcl	2007-08-04 15:25:45.000000000 -0700
***************
*** 9,14 ****
--- 9,15 ----
  proc HMlink_setup {win htag} {
      upvar #0 HM$win var
  
+     set htag [HMmap_esc $htag]
      if {[info exists var(base)] && [HMextract_param $htag href] &&
  	    [info exists href]} {
  	# Cut&Paste Hack
(unnamed) (message/rfc822, 1.5 KB) - not displayed
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Exmh version 2.7.2 01/07/2005

iD8DBQFGtRGWJWLrSYxEfJMRArwvAKCGdrcxnq8wpmomwAwnn3dh9R6eAACguW0T
2s2FuL2hFBjEmmxBPjNgDiU=
=ezCb
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.