[luci] [LuCI] #114: Some strings are escaped twice in XHTML ("'" is displayed as "' ")

LuciTrac trac at luci.subsignal.org
Thu Mar 18 11:11:40 CET 2010


#114: Some strings are escaped twice in XHTML ("'" is displayed as "'")
-----------------------+----------------------------------------------------
 Reporter:  reporter   |       Owner:     
     Type:  defect     |      Status:  new
 Priority:  major      |   Milestone:     
Component:  LuCI Base  |    Keywords:     
-----------------------+----------------------------------------------------

Comment(by reporter):

 The above patch fixes the issue for me (I'm not sure if it's the right way
 to do it, so please test if it doesn't have side effects).

 The problem was actually only with the menubar in openwrt-light and
 openwrt.org themes; I missed the fact that the other strings displaying
 incorrectly were actually containing "'" verbatim in the translation
 file.

 The patch fixes both the menubar and the wrong strings in po/fr/base.po.

 --
 Benoît Knecht

-- 
Ticket URL: <http://luci.subsignal.org/trac/ticket/114#comment:1>
LuCI <http://luci.subsignal.org/trac>
LuCI - Lua Configuration Interface


More information about the luci mailing list