URL:
  <http://gna.org/bugs/?9383>

                 Summary: Characters shouldn't be HTML-escaped in URIs at
publishing
                 Project: Emacs Muse
            Submitted by: clemente
            Submitted on: Samstag 23.06.2007 um 22:38
                Category: muse
                Severity: 2 - Minor
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Muse 3.02.93

I write a link like [[Alegría]]. Publishing to HTML I obtain:
 <a href="Alegr&#2285;a.html">Alegría</a>

And the link doesn't work. "í" could be escaped for instance to %C3%AD, or
-as a temporary hack- be left as "í" (that works if the filename and the
webpage use the same encoding).

I examined the code and found that the escaping doesn't occur if I add
(concat string "") just at the end of muse-publish-escape-specials-in-string
at muse-publish.el.
So:

...
                  (if (null repl)
                      (char-to-string ch)
                    (cdr repl))))
              (append string nil)))))
(concat string "")
)

I don't know why since I don't have much expertise with Elisp. But the result
is 
 <a href="Alegría.html">Alegría</a>





    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?9383>

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


_______________________________________________
Muse-el-commits mailing list
[email protected]
https://mail.gna.org/listinfo/muse-el-commits

Reply via email to