[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: Problems with HTML entities (non-member post)



Hi,

>>>>> In [emacs-w3m : No.02816] 
>>>>>	Alastair Burt <burt@dfki.de> wrote:

> I thought emacs-w3m would be good for editing Wikis such as
> http://zwiki.org. And indeed it is but it has one small problem. The ZWiki
> syntax makes much use of double quotes as a means to generate links. When
> editting with the text widgets of emacs-w3m, I find that the double quotes
> have been converted to &quot; This is not good. 

I believe this has been fixed in current development version.
Please use it, or apply following patch.

Index: w3m-form.el
===================================================================
RCS file: /storage/cvsroot/emacs-w3m/w3m-form.el,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -r1.68 -r1.69
--- w3m-form.el	2001/11/21 07:19:07	1.68
+++ w3m-form.el	2001/12/12 03:16:21	1.69
@@ -314,7 +314,8 @@
 	      (let ((start (point))
 		    value)
 		(skip-chars-forward "^<")
-		(setq value (buffer-substring start (point)))
+		(setq value (w3m-decode-entities-string
+			     (buffer-substring start (point))))
 		(when name
 		  (w3m-form-put (car forms)
 				name

Thank you for your report.

-- 
ARISAWA Akihiro