https://bugzilla.wikimedia.org/show_bug.cgi?id=70475

            Bug ID: 70475
           Summary: mw.text.encode and unbreakable space
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: Scribunto
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to