mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 11:16:51 +02:00
[Chore] Run solution code cleanup (#20584)
This commit is contained in:
@@ -48,9 +48,7 @@ namespace Common.Utilities
|
||||
foreach (XElement element in elements)
|
||||
{
|
||||
// Using Invariant since we are doing an exact match for HTML tags and we want it to behave the same in every culture
|
||||
#pragma warning disable CA1308 // Normalize strings to uppercase
|
||||
var elementName = element?.Name?.LocalName?.ToLowerInvariant();
|
||||
#pragma warning restore CA1308 // Normalize strings to uppercase
|
||||
if (elementName != null && blockedElementsName.ContainsKey(elementName))
|
||||
{
|
||||
foundBlockedElement = true;
|
||||
|
||||
Reference in New Issue
Block a user