Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

OPDS formatting fix (#1905)

Robbie Davis139460d19cad
diff --git a/.github/workflows/sonar-scan.yml b/.github/workflows/sonar-scan.yml
index fbfa41d9a..ad33f1c28 100644
--- a/.github/workflows/sonar-scan.yml
+++ b/.github/workflows/sonar-scan.yml
@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check PR Body
- uses: JJ/github-pr-contains-action@releases/v9
+ uses: JJ/github-pr-contains-action@releases/v10
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
bodyDoesNotContain: "[\"|`]"
diff --git a/API/Controllers/OPDSController.cs b/API/Controllers/OPDSController.cs
index 1564a26a0..7a48ab460 100644
--- a/API/Controllers/OPDSController.cs
+++ b/API/Controllers/OPDSController.cs
@@ -777,11 +777,11 @@ public class OpdsController : BaseApiController
}
else if (volume.Number != 0)
{
- title = $" - {series.Name} - Volume {volume.Name} - {SeriesService.FormatChapterTitle(chapter, libraryType)}";
+ title = $"{series.Name} - Volume {volume.Name} - {SeriesService.FormatChapterTitle(chapter, libraryType)}";
}
else
{
- title = $" - {series.Name} - {SeriesService.FormatChapterTitle(chapter, libraryType)}";
+ title = $"{series.Name} - {SeriesService.FormatChapterTitle(chapter, libraryType)}";
}
// Chunky requires a file at the end. Our API ignores this