Hello list, I do a little modification to muse-html.el which removes
the `name' property from anchors.  You know, `name' property is
limited in xhtml 1.1.  See the attachment for the patch.

-- 
There is no emotion; there is peace.
There is no ignorance; there is knowledge.
There is no passion; there is serenity.
There is no death; there is the Force.
--- muse-html.el.b      2007-06-05 08:55:40.000000000 +0800
+++ muse-html.el        2007-06-18 11:45:57.000000000 +0800
@@ -404,14 +404,14 @@
   (if (looking-at (concat "<\\([^" muse-regexp-blank "/>\n]+\\)>"))
       (let ((tag (match-string 1)))
         (goto-char (match-end 0))
-        (muse-insert-markup "<a name=\"" anchor "\" id=\"" anchor "\">")
+        (muse-insert-markup "<a id=\"" anchor "\">")
         (when muse-html-anchor-on-word
           (or (and (search-forward (format "</%s>" tag)
                                    (muse-line-end-position) t)
                    (goto-char (match-beginning 0)))
               (forward-word 1)))
         (muse-insert-markup "</a>"))
-    (muse-insert-markup "<a name=\"" anchor "\" id=\"" anchor "\">")
+    (muse-insert-markup "<a id=\"" anchor "\">")
     (when muse-html-anchor-on-word
       (forward-word 1))
     (muse-insert-markup "</a>\n")))
_______________________________________________
Muse-el-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/muse-el-discuss

Reply via email to