Skip to content

Commit 7f4b846

Browse files
authored
Made the encodings of .razor and .cshtml files in the repo consistent (#23502)
* Added UTF8 BOMs to .razor and .cshtml files * Fixes and unquarantined BOM tests * Update .editorconfig
1 parent 3fe6b07 commit 7f4b846

File tree

479 files changed

+547
-530
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

479 files changed

+547
-530
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,6 @@ indent_size = 4
3535
[*.sh]
3636
indent_size = 4
3737
end_of_line = lf
38+
39+
[*.{razor,cshtml}]
40+
charset = utf-8-bom

src/Azure/AzureAD/Authentication.AzureAD.UI/src/Areas/AzureAD/Pages/Account/AccessDenied.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@page
1+
@page
22
@model AccessDeniedModel
33
@{
44
ViewData["Title"] = "Access denied";

src/Azure/AzureAD/Authentication.AzureAD.UI/src/Areas/AzureAD/Pages/Account/Error.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@page
1+
@page
22
@model ErrorModel
33
@{
44
ViewData["Title"] = "Error";

src/Azure/AzureAD/Authentication.AzureAD.UI/src/Areas/AzureAD/Pages/Account/SignedOut.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@page
1+
@page
22
@model SignedOutModel
33
@{
44
ViewData["Title"] = "Signed out";
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
@using Microsoft.AspNetCore.Authentication.AzureAD.UI.Internal
1+
@using Microsoft.AspNetCore.Authentication.AzureAD.UI.Internal
22
@namespace Microsoft.AspNetCore.Authentication.AzureAD.UI.Pages.Internal

src/Azure/AzureAD/Authentication.AzureAD.UI/src/Areas/AzureAD/Pages/_ViewStart.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@using Microsoft.AspNetCore.Hosting
1+
@using Microsoft.AspNetCore.Hosting
22
@using Microsoft.AspNetCore.Mvc.ViewEngines
33

44
@inject IWebHostEnvironment Environment

src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/Areas/AzureADB2C/Pages/Account/AccessDenied.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@page
1+
@page
22
@model AccessDeniedModel
33
@{
44
ViewData["Title"] = "Access denied";

src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/Areas/AzureADB2C/Pages/Account/Error.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@page
1+
@page
22
@model ErrorModel
33
@{
44
ViewData["Title"] = "Error";

src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/Areas/AzureADB2C/Pages/Account/SignedOut.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@page
1+
@page
22
@model SignedOutModel
33
@{
44
ViewData["Title"] = "Signed out";
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
@using Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Internal
1+
@using Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Internal
22
@namespace Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Pages.Internal

0 commit comments

Comments
 (0)