You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What are the limitations for links within a RichText component in terms of the query parameters?
I encountered an issue when using links in a RichText component. For example:
• The following link works perfectly: [Whatsapp Flows are awesome](http://example.com/test?foo=bar)
• However, if I include multiple query parameters, like this: [Whatsapp Flows are awesome](http://example.com/test?foo=bar&test=me)
I receive the error: Content cannot be parsed. Please check the 'text' property of RichText and validate that you are using the correct syntax.
This suggests that there might be a restriction on the use of multiple query parameters in the URL.
Can you confirm:
1. Is there a known restriction for URLs in RichText components?
2. Is the inability to handle multiple query parameters intended behavior? If so, what is the reason for this limitation?
The text was updated successfully, but these errors were encountered:
The issue lies in the Markdown syntax used to create links. The ampersand & has a special meaning in Markdown. It's used to separate multiple URLs or references. When Markdown encounters an ampersand in a URL, it tries to interpret it as a separator, which breaks the link.
To fix this issue, you can use URL encoding to encode the ampersand character. Replacing & with %26 fixes the issue:
"link"
What are the limitations for links within a RichText component in terms of the query parameters?
I encountered an issue when using links in a RichText component. For example:
• The following link works perfectly:
[Whatsapp Flows are awesome](http://example.com/test?foo=bar)
• However, if I include multiple query parameters, like this:
[Whatsapp Flows are awesome](http://example.com/test?foo=bar&test=me)
I receive the error:
Content cannot be parsed. Please check the 'text' property of RichText and validate that you are using the correct syntax.
This suggests that there might be a restriction on the use of multiple query parameters in the URL.
Can you confirm:
1. Is there a known restriction for URLs in RichText components?
2. Is the inability to handle multiple query parameters intended behavior? If so, what is the reason for this limitation?
The text was updated successfully, but these errors were encountered: