Skip to content

Commit

Permalink
FIX: Finish fix for literal translations
Browse files Browse the repository at this point in the history
  • Loading branch information
dwhieb committed Mar 16, 2024
1 parent 8203faf commit c523425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utterance/literal.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default function createLiteral(data, { analysisLang }) {

if (typeof data === `string`) {
const lang = analysisLang ? `lang='${ analysisLang }'` : ``
return `<p class=lit ${ lang }>${ addEmphasis(data) }</p>`
return `<p class=lit>lit. <span class=tln ${ lang }>${ addEmphasis(data) }</span></p>`
}

let html = ``
Expand Down

0 comments on commit c523425

Please sign in to comment.