Skip to content

Commit

Permalink
fix: avoid escaping hash characters outside of plurals
Browse files Browse the repository at this point in the history
  • Loading branch information
Anty0 committed Nov 28, 2024
1 parent 8b21d30 commit df6896c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ fun convertMessage(
return message.toConvertorResult()
}
if (!convertPlaceholders || convertorFactory == null) {
return message.escapeIcu(true).toConvertorResult()
return message.escapeIcu(isInPlural).toConvertorResult()
}

val convertor = convertorFactory()
Expand Down

0 comments on commit df6896c

Please sign in to comment.