Jaldhar H. Vyas wrote:
> Oops I spoke too soon.
>
> Look at http://www.mimamsa.org/authors/broken-index.html
>
> This is with linktext => $title and in konqueror and firefox, the  
> ampersand in the entities is being encoded causing them to be displayed  
> literally.
>
> http://www.mimamsa.org/authors/index.html
>
> is with linktext => HTML::Entities::decode_entities($title) and displays  
> correctly.

I created a test wiki with a page containing:

[[meta title="कुमारिल भट्ट (kumarila bhatta)"]]

And a map:

[[map pages="*" key="title"]]

I removed the decode_entities call, and the map is rendered fine
as:

<li><a href="test.html" 
class="mapitem">&#x915;&#x941;&#x92E;&#x93E;&#x930;&#x93F;&#x932; 
&#x92D;&#x91F;&#x94D;&#x91F; (kumarila bhatta)</a>

Which, when displayed in epiphany and w3m, displays the utf-8 text ok.
I don't see the double-encoding you describe. If you'd like to send a source
wiki that I can build to reproduce the problem, I'll take a look at it.

In the meantime, I'm applying a modified version of the patch without
the decode_entities call.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to