diff --git a/content/chat/rooms/messages.textile b/content/chat/rooms/messages.textile
index a6eae352d4..1d9b60b294 100644
--- a/content/chat/rooms/messages.textile
+++ b/content/chat/rooms/messages.textile
@@ -80,7 +80,7 @@ h3(#unsubscribe). Unsubscribe from messages
blang[javascript,swift].
Unsubscribe from messages to remove previously registered listeners.
- Use the "@unsubscribe()@":https://sdk.ably.com/builds/ably/ably-chat-js/main/typedoc/interfaces/chat-js.MessageSubscriptionResponse.html#unsubscribe"@unsubscribe()@":https://sdk.ably.com/builds/ably/ably-chat-swift/main/typedoc/interfaces/chat.MessageSubscription.html#unsubscribe function returned in the @subscribe()@ response to remove a listener:
+ Use the "@unsubscribe()@":https://sdk.ably.com/builds/ably/ably-chat-js/main/typedoc/interfaces/chat-js.MessageSubscriptionResponse.html#unsubscribe function"@unsubscribe()@":https://sdk.ably.com/builds/ably/ably-chat-swift/main/typedoc/interfaces/chat.MessageSubscription.html#unsubscribe method of the object returned in the @subscribe()@ response to remove a listener:
```[javascript]
// Initial subscription