mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-07 05:57:47 +00:00
GEEKING
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
using System.Web;
|
||||
|
||||
namespace Roblox.Common
|
||||
{
|
||||
public class TextTransforms
|
||||
{
|
||||
public static string transformString(string stringToTransform) => performCarriageReturnSubstitution(HttpContext.Current.Server.HtmlEncode(stringToTransform));
|
||||
public static string performCarriageReturnSubstitution(string text) => text.Replace("\n", "<br />");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user