Jump to content

Magenta

Registered Users - Approved
  • Posts

    1
  • Joined

Posts posted by Magenta

  1. ...you can use the   entity...

     

    The simplest way to do this is to create a function like so in JavaScript:

     
    function NoBreak(s)
    {
     return NormalizeEntities(s).replace(/ /g, " ");
    }
    

    Then you can simply call this function for whatever phrase you don't want to break.

     

    We're trying this now and it's returning the literal characters   instead of translating it to a non-breaking space. What could be causing that?

×
×
  • Create New...