Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v5.2.0
with:
dotnet-version: 3.1.101
dotnet-version: 10.0.x

- name: Install dependencies
working-directory: ./PreMailer.Net
Expand Down
2 changes: 1 addition & 1 deletion PreMailer.Net/PreMailer.Net/CssSelectorParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ private static string[] PseudoClasses
"valid",
"visited"
}
.Reverse().ToArray(); // NOTE: Reversal is important to ensure 'first-line' is processed before 'first'.
.AsEnumerable().Reverse().ToArray(); // NOTE: Reversal is important to ensure 'first-line' is processed before 'first'.
}
}

Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,13 @@ This is useful for advanced scenarios where you need to modify the HTML structur
## Installation
**NuGet**: [PreMailer.Net](http://nuget.org/List/Packages/PreMailer.Net)

## GitHub Actions locally
Run locally using **act**:

```bash
act push --container-architecture=linux/arm64 --platform ubuntu-slim=node:lts-bullseye
```

## Contributors

* [martinnormark](https://github.com/martinnormark)
Expand Down
Loading