Skip to content

Commit

Permalink
Update to reinstate targeting netstandard2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticmind committed Jan 3, 2024
1 parent f51412d commit 59961d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions src/ReverseMarkdown.Test/ConverterTests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Threading.Tasks;
using VerifyTests;
using VerifyXunit;
Expand Down Expand Up @@ -693,7 +691,6 @@ public Task Check_Converter_With_Unknown_Tag_Raise_Option()
UnknownTags = Config.UnknownTagsOption.Raise
};
var converter = new Converter(config);
var settings = new VerifySettings();
return Verifier.Throws(() => converter.Convert(html), settings: _verifySettings)
.IgnoreMember<Exception>(e => e.StackTrace);
}
Expand Down Expand Up @@ -921,7 +918,7 @@ public void TestConversionWithPastedHtmlContainingUnicodeSpaces()
Assert.Contains("and **Weblog Publisher** for Windows", expected);
}

static Task CheckConversion(string html, Config config = null, [CallerFilePath] string sourceFile = "")
static Task CheckConversion(string html, Config config = null)
{
config = config ?? new Config();
var converter = new Converter(config);
Expand Down
4 changes: 2 additions & 2 deletions src/ReverseMarkdown/ReverseMarkdown.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Description>ReverseMarkdown is a Html to Markdown converter library in c#</Description>
<VersionPrefix>4.0.0</VersionPrefix>
<VersionPrefix>4.1.0</VersionPrefix>
<Authors>Babu Annamalai</Authors>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net6.0;net7.0;net8.0</TargetFrameworks>
<PackageProjectUrl>https://github.com/mysticmind/reversemarkdown-net</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageTags>htmltomarkdown;html2markdown;converthtml;htmlconverter;html;converter;markdown</PackageTags>
Expand Down

0 comments on commit 59961d1

Please sign in to comment.