Skip to content

Commit

Permalink
fix: disable i18next escaping on version text to avoid double escaping
Browse files Browse the repository at this point in the history
  • Loading branch information
ptamarit authored and slint committed May 6, 2024
1 parent 4c74d48 commit 08ecc75
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ const RecordVersionItem = ({ item, activeVersion }) => {
<List.Content floated="left">
{activeVersion ? (
<span className="text-break">
{i18next.t("Version {{version}}", { version: item.version })}
{i18next.t("Version {{- version}}", { version: item.version })}
</span>
) : (
<a href={`/records/${item.id}`} className="text-break">
{i18next.t("Version {{version}}", { version: item.version })}
{i18next.t("Version {{- version}}", { version: item.version })}
</a>
)}

Expand Down

0 comments on commit 08ecc75

Please sign in to comment.