* Skip symbols for Umbraco.Templates * Resolve some test issues + Fixed whitespace dependant tests to pass regardless of build OS vs run OS. + Snap dictionary tests were failing when Configuration was release + Removed hardcoded baseUrl from one of the acceptance tests * Move docfx setup to ./build and fix * Update UI docs title * Added dockerfile that can be used when running the acceptance tests. * Take explicit dependency on System.Security.Cryptography.Pkcs * Refactor ci/cd pipeline
12 lines
340 B
C#
12 lines
340 B
C#
namespace Umbraco.Cms.Tests.Common.Extensions;
|
|
|
|
public static class StringExtensions
|
|
{
|
|
public static string StripNewLines(this string input) =>
|
|
input.Replace("\r\n", string.Empty)
|
|
.Replace("\n", string.Empty);
|
|
|
|
public static string NormalizeNewLines(this string input) =>
|
|
input.Replace("\r\n", "\n");
|
|
}
|