Skip to content

Commit

Permalink
[Fix] VersionCheckerMiddleware - EscapeMarkup
Browse files Browse the repository at this point in the history
[Update] HtmlAgilityPack to 1.11.70
  • Loading branch information
samatstariongroup committed Oct 28, 2024
1 parent f46a234 commit e522640
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
6 changes: 3 additions & 3 deletions ECoreNetto.Extensions/ECoreNetto.Extensions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Company>Starion Group S.A.</Company>
<Copyright>Copyright © Starion Group S.A.</Copyright>
<Title>ECoreNetto.Extensions</Title>
<Version>6.0.1</Version>
<Version>6.0.2</Version>
<Description>Extension methods for the ECoreNetto library that are typically used to support code generation</Description>
<PackageId>ECoreNetto.Extensions</PackageId>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
Expand All @@ -23,7 +23,7 @@
<Authors>Sam Gerene</Authors>
<PackageTags>Ecore</PackageTags>
<PackageReleaseNotes>
[Update] to HtmlAgilityPack version 1.11.68
[Update] to HtmlAgilityPack version 1.11.70
</PackageReleaseNotes>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
Expand All @@ -33,7 +33,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="HtmlAgilityPack" Version="1.11.68" />
<PackageReference Include="HtmlAgilityPack" Version="1.11.70" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions ECoreNetto.HandleBars/ECoreNetto.HandleBars.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Company>Starion Group S.A.</Company>
<Copyright>Copyright © Starion Group S.A.</Copyright>
<Title>ECoreNetto.HandleBars</Title>
<Version>6.0.1</Version>
<Version>6.0.2</Version>
<Description>HandleBarHelpers for use in combination with the ECoreNetto library to support HandleBarHelpers based code generation</Description>
<PackageId>ECoreNetto.HandleBars</PackageId>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
Expand All @@ -23,7 +23,7 @@
<Authors>Sam Gerene</Authors>
<PackageTags>Ecore HandleBars</PackageTags>
<PackageReleaseNotes>
[Update] ECoreNetto.Extensions version 6.0.1
[Update] ECoreNetto.Extensions version 6.0.2
</PackageReleaseNotes>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
Expand Down
4 changes: 2 additions & 2 deletions ECoreNetto.Reporting/ECoreNetto.Reporting.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Company>Starion Group S.A.</Company>
<Copyright>Copyright © Starion Group S.A.</Copyright>
<Title>ECoreNetto.Reporting</Title>
<Version>6.0.1</Version>
<Version>6.0.2</Version>
<Description>Ecore Reporting use in combination with the ECoreNetto library generate reports</Description>
<PackageId>ECoreNetto.Reporting</PackageId>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
Expand All @@ -23,7 +23,7 @@
<Authors>Sam Gerene</Authors>
<PackageTags>Ecore HandleBars Reporting</PackageTags>
<PackageReleaseNotes>
[Update] ECoreNetto.HandleBars version 6.0.1
[Update] ECoreNetto.HandleBars version 6.0.2
</PackageReleaseNotes>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
Expand Down
5 changes: 3 additions & 2 deletions ECoreNetto.Tools/ECoreNetto.Tools.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@
<PackAsTool>true</PackAsTool>
<PackageId>ECoreNetto.Tools</PackageId>
<ToolCommandName>ecoretools</ToolCommandName>
<Version>6.0.0</Version>
<Version>6.0.2</Version>
<ImplicitUsings>disable</ImplicitUsings>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageIcon>ecorenetto-Icon.png</PackageIcon>
<NeutralLanguage>en-US</NeutralLanguage>
<SatelliteResourceLanguages>en-US</SatelliteResourceLanguages>
<PackageReleaseNotes>
[Update] to reporting version 6.0.1
[Update] to ECoreNetto.Reporting version 6.0.2
[Fix] VersionCheckerMiddleware: use EscapeMarkup
</PackageReleaseNotes>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion ECoreNetto.Tools/Middlewares/VersionCheckerMiddleware.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public static CommandLineBuilder UseVersionChecker(this CommandLineBuilder build
{
AnsiConsole.WriteLine("");
AnsiConsole.MarkupLine($"[Green] a newer version is available at {payload.HtmlUrl} [/]");
AnsiConsole.MarkupLine($"[Green] {payload.Body} [/]");
AnsiConsole.MarkupLine($"[Green] {payload.Body.EscapeMarkup()} [/]");
AnsiConsole.WriteLine("");
}
else
Expand Down

0 comments on commit e522640

Please sign in to comment.