Commit Graph

57 Commits

Author SHA1 Message Date
Michael Ganss
146d5e4f60 Fix #206 2020-02-28 16:50:59 +01:00
dependabot-preview[bot]
f3988f9bbe Bump Microsoft.NET.Test.Sdk from 16.4.0 to 16.5.0
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.4.0 to 16.5.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.4.0...v16.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-06 04:35:11 +00:00
Michael Ganss
4afaf4bd57 Fix/ignore code analysis issues 2020-01-24 13:40:13 +01:00
Michael Ganss
60e35106c1 Include framework in coverage file name
Target netcoreapp2.2 in test project
2020-01-24 12:37:32 +01:00
dependabot-preview[bot]
970b963de0 Bump coverlet.msbuild from 2.7.0 to 2.8.0
Bumps [coverlet.msbuild](https://github.com/tonerdo/coverlet) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/tonerdo/coverlet/releases)
- [Commits](https://github.com/tonerdo/coverlet/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 04:34:51 +00:00
dependabot-preview[bot]
f275182881 Bump System.Text.Encoding.CodePages from 4.6.0 to 4.7.0
Bumps [System.Text.Encoding.CodePages](https://github.com/dotnet/corefx) from 4.6.0 to 4.7.0.
- [Release notes](https://github.com/dotnet/corefx/releases)
- [Commits](https://github.com/dotnet/corefx/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-04 04:31:56 +00:00
dependabot-preview[bot]
3102318bc2 Bump Microsoft.NET.Test.Sdk from 16.3.0 to 16.4.0
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.3.0 to 16.4.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.3...v16.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-07 04:40:31 +00:00
Bjørn Olav Ringstad
5d10d3b07e Fixed classcast error in post processing of nodes
When you use SanitizeDocument the 'context' parameter of DoPostProcess and RemoveComments is set to be the HTML document itself. The post processing require the context to be an IElement which isn't the case for AngleSharps HtmlDocument. Changed signatures of methods in post processing to use an INode instead. This allows the PostProcessNode event to be called when using SanitizeDocument.
2019-10-03 07:32:44 +02:00
dependabot-preview[bot]
7d5c9ffd94 Bump System.Text.Encoding.CodePages from 4.5.1 to 4.6.0
Bumps [System.Text.Encoding.CodePages](https://github.com/dotnet/corefx) from 4.5.1 to 4.6.0.
- [Release notes](https://github.com/dotnet/corefx/releases)
- [Commits](https://github.com/dotnet/corefx/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-24 04:45:05 +00:00
dependabot-preview[bot]
94fb3f62ca Bump coverlet.msbuild from 2.6.3 to 2.7.0
Bumps [coverlet.msbuild](https://github.com/tonerdo/coverlet) from 2.6.3 to 2.7.0.
- [Release notes](https://github.com/tonerdo/coverlet/releases)
- [Commits](https://github.com/tonerdo/coverlet/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-23 04:35:17 +00:00
dependabot-preview[bot]
683e683b01 Bump Microsoft.NET.Test.Sdk from 16.2.0 to 16.3.0
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.2.0 to 16.3.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.2.0...v16.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-20 04:36:23 +00:00
dependabot-preview[bot]
3af7db6b37 Bump AngleSharp.Xml from 0.12.1 to 0.13.0
Bumps [AngleSharp.Xml](https://github.com/AngleSharp/AngleSharp.Xml) from 0.12.1 to 0.13.0.
- [Release notes](https://github.com/AngleSharp/AngleSharp.Xml/releases)
- [Changelog](https://github.com/AngleSharp/AngleSharp.Xml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/AngleSharp/AngleSharp.Xml/compare/v0.12.1...v0.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-09 11:13:25 +00:00
dependabot-preview[bot]
b5ffe4f01d Bump coverlet.msbuild from 2.6.2 to 2.6.3
Bumps [coverlet.msbuild](https://github.com/tonerdo/coverlet) from 2.6.2 to 2.6.3.
- [Release notes](https://github.com/tonerdo/coverlet/releases)
- [Commits](https://github.com/tonerdo/coverlet/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-02 04:40:09 +00:00
dependabot-preview[bot]
f68de8eb37 Bump Microsoft.NET.Test.Sdk from 16.1.1 to 16.2.0
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.1.1 to 16.2.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.1.1...v16.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-28 04:42:46 +00:00
Michael Ganss
8be095675b Merge branch 'AngleSharp_0_10' 2019-06-26 13:20:16 +02:00
Michael Ganss
a41d8a7ca0 Merge pull request #168 from mganss/dependabot/nuget/coverlet.msbuild-2.6.2
Bump coverlet.msbuild from 2.5.1 to 2.6.2
2019-06-26 13:00:46 +02:00
dependabot-preview[bot]
2d2c545293 Bump Microsoft.NET.Test.Sdk from 15.9.0 to 16.1.1
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 15.9.0 to 16.1.1.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v15.9.0...v16.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-25 15:32:50 +00:00
dependabot-preview[bot]
3cb5174d54 Bump coverlet.msbuild from 2.5.1 to 2.6.2
Bumps [coverlet.msbuild](https://github.com/tonerdo/coverlet) from 2.5.1 to 2.6.2.
- [Release notes](https://github.com/tonerdo/coverlet/releases)
- [Commits](https://github.com/tonerdo/coverlet/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-25 15:32:06 +00:00
Michael Ganss
a27b0d80a7 Merge branch 'master' into AngleSharp_0_10 2019-06-02 15:34:02 +02:00
Michael Ganss
a258535f13 Fix #164 2019-06-02 14:36:53 +02:00
Michael Ganss
a20cf1ad83 Update appveyor.yml 2019-05-15 14:13:57 +02:00
Michael Ganss
945f2ae2a1 Update to AngleSharp 0.12.1
Make tests work
2019-05-15 13:54:39 +02:00
Michael Ganss
07835ee2d6 Add test for #163 2019-04-12 13:50:06 +02:00
Michael Ganss
04ba3cf189 Merge remote-tracking branch 'remotes/origin/master' into AngleSharp_0_10 2019-01-27 18:45:34 +01:00
Michael Ganss
11b271631e Add SanitizeDocument overload that takes a Stream
Fixes #158
2019-01-27 17:02:38 +01:00
Michael Ganss
fa391118a7 Merge branch 'master' into AngleSharp_0_10 2019-01-18 14:17:23 +01:00
Michael Ganss
dfd5e9d237 Fix #156 2019-01-18 14:13:49 +01:00
Michael Ganss
b3684d47ea Merge branch 'master' into AngleSharp_0_10 2019-01-07 13:00:45 +01:00
reinaldo
cac3047159 Adding build support to NetStandard 2.0. 2018-11-06 15:20:33 -02:00
Michael Ganss
edc45180af Add sonarcube
Remove AssemblyInfo.cs
2018-09-24 16:30:59 +02:00
Michael Ganss
82d8ca44aa Fix #137 2018-08-01 17:11:30 +02:00
Michael Ganss
f5421a8965 Use coverlet instead of OpenCover
Target netcoreapp2.0
2018-07-18 14:03:10 +02:00
Michael Ganss
571e1573bd Update AngleSharp to 0.9.9.2
Update xUnit to 2.3.1
2018-03-19 12:53:54 +01:00
Michael Ganss
b6486bf7dc Update to AngleSharp 0.9.9.1 2018-01-05 14:00:12 +01:00
Michael Ganss
248ad10f1c Merge branch 'master' into AngleSharp_0_10 2017-10-11 14:01:32 +02:00
Levi Baker
919a71dba2 Added method SantizeDom that returns the parsed and cleaned IHtmlDocument. This exposes the result for further DOM manipulation without requiring another parse.
Also added a PostProcessDom event that runs after PostProcessNode. This also allows the whole DOM to be further manipulated without executing on every node or re-parsing the document.
2017-09-22 10:37:38 -07:00
Mark Bell
6a07682267 Implement CSS class whitelisting 2017-06-16 13:05:51 +01:00
Michael Ganss
124d450f7b Merge branch 'master' into AngleSharp_0_10
# Conflicts:
#	src/HtmlSanitizer/HtmlSanitizer.project.json
2017-06-08 13:52:15 +02:00
Michael Ganss
62c6fbdd5f Fix #119 2017-04-28 15:40:08 +02:00
Michael Ganss
393c009b80 Refactor according to VS suggestions
Use AppVeyor VS 2017 build image
2017-04-12 16:10:31 +02:00
Michael Ganss
255fd58ea6 Update to VS 2017
Use System.Uri only for resolving relative URLs (fixes #118, fixes #106, fixes #66)
2017-04-12 16:01:42 +02:00
Michael Ganss
7a2e7fd29f Prepare for AngleSharp 0.10 2017-03-23 19:49:23 +01:00
Michael Ganss
fe1ec068e5 Add event that is raised when a comment is about to be removed (see #98) 2016-12-09 12:40:24 +01:00
Michael Ganss
c0079fdbd7 Normalize DOM 2016-11-15 17:41:30 +01:00
Michael Ganss
e0cdf4cac6 Update to AngleSharp 0.9.9 2016-10-31 16:34:23 +01:00
Michael Ganss
c451c8ba52 Add KeepChildNodes
Add back beta label to version
2016-10-10 13:48:48 +02:00
Michael Ganss
d8c6ac0598 Add test for keeping child nodes (see #25, #75)
Remove beta label from version
2016-10-10 13:31:56 +02:00
Michael Ganss
45f3402b4c Add test for #90 2016-10-07 15:47:33 +02:00
Michael Ganss
2b1acb5aa9 Make ThreadTest work in .NET Core 2016-09-22 12:32:36 +02:00
Michael Ganss
7002fc5176 Add thread safety unit test 2016-09-22 11:49:23 +02:00