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
When inserting a link with multiple URL parameters separated by the & symbol (e.g., https://example.com/page?param1=value1¶m2=value2), the Toast UI Editor replaces the & with & in the generated HTML. This effectively breaks the link after the first parameter, as the browser interprets & as a literal ampersand, not a parameter separator.
For example, if I insert the link https://example.com/page?param1=value1¶m2=value2, the editor's HTML output becomes something like: <a href="https://example.com/page?param1=value1&param2=value2">Link Text</a>
Is this the intended behavior? If so, what is the recommended way to insert links with multiple URL parameters using the Toast UI Editor? If not, is there a configuration option or workaround to prevent this encoding? This is critical for our application as we heavily rely on URL parameters for tracking and filtering.
The text was updated successfully, but these errors were encountered:
Summary
Why does the Toast UI Editor replace the & symbol with & when inserting a link, rendering subsequent URL parameters unusable?
Version
build/bundle: @toast-ui/[email protected]
Additional context
When inserting a link with multiple URL parameters separated by the & symbol (e.g., https://example.com/page?param1=value1¶m2=value2), the Toast UI Editor replaces the & with & in the generated HTML. This effectively breaks the link after the first parameter, as the browser interprets & as a literal ampersand, not a parameter separator.
For example, if I insert the link https://example.com/page?param1=value1¶m2=value2, the editor's HTML output becomes something like:
<a href="https://example.com/page?param1=value1&param2=value2">Link Text</a>
Is this the intended behavior? If so, what is the recommended way to insert links with multiple URL parameters using the Toast UI Editor? If not, is there a configuration option or workaround to prevent this encoding? This is critical for our application as we heavily rely on URL parameters for tracking and filtering.
The text was updated successfully, but these errors were encountered: