Page MenuHomePhabricator

mw.text.encode and unbreakable space
Closed, ResolvedPublic


mw.text.encode does not encode correctly unbreakable spaces.

example : mw.text.encode( mw.ustring.char( 160 ) ) returns '&#nbsp;' instead of ' '

This comes from line 35 of in [mediawiki/extensions/Scribunto.git] / engines / LuaCommon / lualib / mw.text.lua, where there is a '#' that should not be there.

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:53 AM
bzimport set Reference to bz70475.

gerritadmin wrote:

Change 158872 had a related patch set uploaded by Jackmcbarn:
Output   instead of &#nbsp;

gerritadmin wrote:

Change 158872 merged by jenkins-bot:
Output   instead of &#nbsp;

The fix will be deployed to all WMF wikis by September 18th.