mirror of
https://github.com/mattermost/mattermost-mobile.git
synced 2026-11-04 18:08:54 +00:00
7 lines
198 B
TypeScript
7 lines
198 B
TypeScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
export function nonBreakingString(s: string) {
|
|
return s.replace(/ /g, '\xa0');
|
|
}
|