Skip to content

Commit

Permalink
Change "Blazor component" to "Razor component" (#28327)
Browse files Browse the repository at this point in the history
Related PR (please see): #28324

... and sorry for the multiple, tiny PRs on this. I don't have an active, updated fork/clone at this time. πŸ™ˆ This is the last one AFAICT.
  • Loading branch information
guardrex authored Feb 21, 2022
1 parent be30155 commit de65a9e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.date: 10/01/2020
---
# Blazor: Insignificant whitespace trimmed from components at compile time

Starting with ASP.NET Core 5.0, the Razor compiler omits insignificant whitespace in Blazor components (*.razor* files) at compile time. For discussion, see issue [dotnet/aspnetcore#23568](https://github.com/dotnet/aspnetcore/issues/23568).
Starting with ASP.NET Core 5.0, the Razor compiler omits insignificant whitespace in Razor components (*.razor* files) at compile time. For discussion, see issue [dotnet/aspnetcore#23568](https://github.com/dotnet/aspnetcore/issues/23568).

## Version introduced

Expand All @@ -16,7 +16,7 @@ Starting with ASP.NET Core 5.0, the Razor compiler omits insignificant whitespac

In 3.x versions of Blazor Server and Blazor WebAssembly, whitespace is honored in a component's source code. Whitespace-only text nodes render in the browser's Document Object Model (DOM) even when there's no visual effect.

Consider the following Blazor component code:
Consider the following Razor component code:

```razor
<ul>
Expand Down

0 comments on commit de65a9e

Please sign in to comment.