Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ahobsonsayers committed Dec 28, 2024
1 parent 5c2339a commit a074168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion goodreads/book.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

var (
// These are dirty workarounds, but they seem to work
alternativeCoverRegex = regexp.MustCompile(`^<i>.*?[Aa]lternat(iv)?e cover.*?<\/i>`)
alternativeCoverRegex = regexp.MustCompile(`^<i>.*?[Aa]lternat(iv)?e cover.*?</i>`)
breakTagRegex = regexp.MustCompile(`<br\s*/?>`)
lastBracketRegex = regexp.MustCompile(`^(.*)(\([^\(\)]*\))([^()]*)$`)
)
Expand Down

0 comments on commit a074168

Please sign in to comment.