If the server-side code returns something like: <ul> <li>foo bar</li> <li>hello world</li> </ul>
Then these spaces will absolutely be preserved in the list that the Autocompleter returns. Once that value shows up in your input box, the non-breaking spaces will be just normal spaces. If you save that data and the preservation of spaces is important, then it is your job to handle it appropriately. There is no bug in this behavior. You can use whatever HTML code you want for the returned HTML, but you will need to alter the new Ajax.Autocompleter(...) code so that it looks for the correct tag, by default it looks for a <li>. Also, you cannot have one or more <li> elements that are stand-alone, they must be inside a <ul> or <ol>. -justin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---