Commit 2fbe331
[release/10.0] Fix ScriptTagHelper regression by checking for existing content before processing importmaps (#63631)
* Initial plan
* Fix script tag importmap regression - preserve user content when no asp-importmap
Co-authored-by: MackinnonBuck <[email protected]>
* Fix ScriptTagHelper importmap regression by checking for existing content
Co-authored-by: javiercn <[email protected]>
* Manual fixes
* Handle other tag helper setting content
* Update PublicAPI.Unshipped.txt
* Use `ProcessAsync()` in tests
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: MackinnonBuck <[email protected]>
Co-authored-by: javiercn <[email protected]>
Co-authored-by: Mackinnon Buck <[email protected]>1 parent f940be1 commit 2fbe331
File tree
3 files changed
+119
-50
lines changed- src/Mvc/Mvc.TagHelpers
- src
- test
3 files changed
+119
-50
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | | - | |
| 238 | + | |
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
246 | | - | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
247 | 261 | | |
248 | 262 | | |
249 | 263 | | |
| |||
252 | 266 | | |
253 | 267 | | |
254 | 268 | | |
| 269 | + | |
255 | 270 | | |
256 | 271 | | |
257 | 272 | | |
258 | | - | |
259 | 273 | | |
260 | 274 | | |
261 | 275 | | |
| |||
0 commit comments