Skip to content

Commit

Permalink
FIX: Do not wrap source in parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
dwhieb committed Mar 16, 2024
1 parent f5bc9f0 commit ac1f520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utterance/source.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export default function createSource(speaker, source) {
if (!(speaker ?? source)) return ``

speaker ||= ``
source = source ? `(${ source })` : ``
source ||= ``

const text = `${ speaker } ${ source }`.trim()

Expand Down

0 comments on commit ac1f520

Please sign in to comment.