-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #9615 - Upgrade to Htmlsanitizer v5 #9856
Fixes #9615 - Upgrade to Htmlsanitizer v5 #9856
Conversation
@@ -1293,7 +1296,7 @@ | |||
</PropertyGroup> | |||
<ItemGroup> | |||
<!-- we want to exclude all facade references ?! --> | |||
<FixedReferencePath Include="@(ReferencePath)" Condition="'%(ReferencePath.FileName)' != 'System.ValueTuple' and '%(ReferencePath.FileName)' != 'System.Net.Http'" /> | |||
<FixedReferencePath Include="@(ReferencePath)" Condition="'%(ReferencePath.FileName)' != 'System.ValueTuple' and '%(ReferencePath.FileName)' != 'System.Net.Http' and '%(ReferencePath.FileName)' != 'System.Text.Encoding.CodePages'" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was the build fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting.. I am not sure what the problem we're trying to solve with FixedReferencePath
is but.. if it works, it works 🤷
@@ -1293,7 +1296,7 @@ | |||
</PropertyGroup> | |||
<ItemGroup> | |||
<!-- we want to exclude all facade references ?! --> | |||
<FixedReferencePath Include="@(ReferencePath)" Condition="'%(ReferencePath.FileName)' != 'System.ValueTuple' and '%(ReferencePath.FileName)' != 'System.Net.Http'" /> | |||
<FixedReferencePath Include="@(ReferencePath)" Condition="'%(ReferencePath.FileName)' != 'System.ValueTuple' and '%(ReferencePath.FileName)' != 'System.Net.Http' and '%(ReferencePath.FileName)' != 'System.Text.Encoding.CodePages'" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting.. I am not sure what the problem we're trying to solve with FixedReferencePath
is but.. if it works, it works 🤷
Prerequisites
If there's an existing issue for this PR then this fixes
Description
Restores HtmlSanitizer v5. Builds. Also some small optimisations for building the icon lists. IHtmlSanitizer injected via constructor and registered in a composer, allowing for customization.
Reverts
#9803 @nul800sebastiaan
Fixes #9615