Skip to content

Commit

Permalink
Fix invalid nfo characters in tag and tagline (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
jvlflame committed Oct 5, 2020
1 parent c3ee6e4 commit 82802bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Javinizer/Public/Get-JVNfo.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ function Get-JVNfo {
$Maker = Convert-NfoChar -String $Maker -ErrorAction SilentlyContinue
$Label = Convert-NfoChar -String $Label -ErrorAction SilentlyContinue
$Series = Convert-NfoChar -String $Series -ErrorAction SilentlyContinue
$Tagline = Convert-NfoChar -String $Tagline -ErrorAction SilentlyContinue
$releaseYear = ($ReleaseDate -split '-')[0]

$nfoString = @"
Expand Down Expand Up @@ -144,6 +145,7 @@ function Get-JVNfo {
}

foreach ($item in $Tag) {
$item = Convert-NfoChar -String $Tag -ErrorAction SilentlyContinue
$tagNfoString = @"
<tag>$item</tag>
Expand Down

0 comments on commit 82802bd

Please sign in to comment.