Browse Source

docs: fix RapidTables HSL conversion reference URL

## Problem

The HSL conversion test cites RapidTables without a file extension:

http://www.rapidtables.com/convert/color/hsl-to-rgb

GET with redirects returns 404. The live page is `/hsl-to-rgb.html`.

## Solution

Update the `see` href to the current RapidTables URL.

## Verification

```
curl -sL -o /dev/null -w "%{http_code} %{url_effective}" -A "Mozilla/5.0" \
  "http://www.rapidtables.com/convert/color/hsl-to-rgb"
# 404 https://www.rapidtables.com/convert/color/hsl-to-rgb

curl -sL -o /dev/null -w "%{http_code} %{url_effective}" -A "Mozilla/5.0" \
  "https://www.rapidtables.com/convert/color/hsl-to-rgb.html"
# 200 https://www.rapidtables.com/convert/color/hsl-to-rgb.html
```

Co-authored-by: FirmamentalSpring <287222957+FirmaSpring@users.noreply.github.com>
pull/3172/head
MoonsvnLyn 2 weeks ago
parent
commit
c5aae96754
  1. 2
      tests/ImageSharp.Tests/ColorProfiles/RgbAndHslConversionTest.cs

2
tests/ImageSharp.Tests/ColorProfiles/RgbAndHslConversionTest.cs

@ -11,7 +11,7 @@ namespace SixLabors.ImageSharp.Tests.ColorProfiles;
/// <remarks>
/// Test data generated using:
/// <see href="http://www.colorhexa.com"/>
/// <see href="http://www.rapidtables.com/convert/color/hsl-to-rgb"/>
/// <see href="https://www.rapidtables.com/convert/color/hsl-to-rgb.html"/>
/// </remarks>
[Trait("Color", "Conversion")]
public class RgbAndHslConversionTest

Loading…
Cancel
Save