Skip to content
代码片段 群组 项目
未验证 提交 265991ca 编辑于 作者: Steve Sanderson's avatar Steve Sanderson 提交者: GitHub
浏览文件

Add <title> to empty wasm template index.html (#44334)

# Add <title> to empty wasm template index.html

Add <title> to empty wasm template index.html

## Description

The new Blazor WebAssembly "empty" project template lacks a `<title>`, but (1) everyone wants a title, and (2) the `<title>` element is required by the HTML spec - we can't omit it without the document being invalid. This PR adds it.

Fixes #44335

## Customer Impact

Without fixing this, newly-created projects don't conform to the HTML spec by default. And it's just strange.

## Regression?

- [ ] Yes
- [x] No - the empty wasm template is new in 7.0

[If yes, specify the version the behavior has regressed from]

## Risk

- [ ] High
- [ ] Medium
- [x] Low

It's just adding a `<title>` element to a plain-text HTML file, equivalently to how it already appears in the non-empty template.

## Verification

- [x] Manual (required)
- [ ] Automated

## Packaging changes reviewed?

- [ ] Yes
- [ ] No
- [x] N/A
上级 2b8523d9
No related branches found
No related tags found
加载中
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册