mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
js: Fix type issue with FormatJS rich text elements.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
b582d5886c
commit
3a718d786f
@@ -247,7 +247,7 @@ locally to the translation:
|
||||
```js
|
||||
$t_html(
|
||||
{defaultMessage: "<b>HTML</b> linking to the <z-link>login page</z-link>"},
|
||||
{"z-link": (content_html) => `<a href="/login/">${content_html}</a>`},
|
||||
{"z-link": (content_html) => `<a href="/login/">${content_html.join("")}</a>`},
|
||||
)
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user