Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kloon15 committed Oct 19, 2023
1 parent 1396d60 commit 71273b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions srt.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ func parseTextSrt(i string) (o Line) {
styles.italic = false
case "u":
styles.underline = false
case "font":
styles.color = nil
}
case html.StartTagToken:
// Parse italic/bold/underline
Expand Down
3 changes: 0 additions & 3 deletions subtitles.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,6 @@ var (

// StyleAttributes represents style attributes
type StyleAttributes struct {
SRTBold bool
SRTItalics bool
SRTUnderline bool
SSAAlignment *int
SSAAlphaLevel *float64
SSAAngle *float64 // degrees
Expand Down

0 comments on commit 71273b4

Please sign in to comment.