Re: Creole
- Posted by mattlewis (admin) Apr 10, 2014
- 1161 views
andi49 said...
Sure, but i'am not sure if this simple change works everywhere.
html_gen.e
constant kHTML = { { "&", "&" }, { "<", "<" }, { ">", ">" }, { {196}, "Ä" }, --Ae { {228}, "ä" }, --ae { {220}, "Ü" }, --Ue { {252}, "ü" }, --ue { {214}, "Ö" }, --Oe { {246}, "ö" }, --oe { {223}, "ß" }, -- ss $ }
At least it works for me.
Yes, it seems very encoding specific. A better approach might be to find things that fit the pattern of ampersand, letters, semi-colon, and leave those alone.
I asked you for the patch partly because it would at least pinpoint the place to change this. I haven't looked at the creole repository (see Derek, I didn't just say creole!) in a long time, and this saves me (or anyone else looking at the code) the time of figuring out where this sort of thing might happen.
Matt