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 HTML code with URL query parameters into HTML blocks in the Unlayer email editor, ampersand (&) characters in URLs are incorrectly converted to "not equal" (¬) symbols followed by the next character. This breaks URL functionality in the generated email templates.
Reproduction Steps
Create a new email template in Unlayer
Add an HTML block component to the template
Edit the HTML block and insert HTML that contains a URL with query parameters
The ampersand character should be preserved as-is or properly encoded as & in the HTML output, but should not be converted to a different character that breaks URL functionality.
Environment
Unlayer version: "vue-email-editor": "latest",
Framework version: Vue.js ["^3.1.0"]
Additional Context
This issue specifically affects template variables in URLs. When using URL query parameters with the ampersand character after a merge tag/template variable (like {{link}}¬e=5), the ampersand is combined with the next character to form the "not equal" character, breaking the URL structure.
We've attempted various workarounds including:
Pre-encoding the ampersand as & - still results in character conversion
Using URL-encoded characters - inconsistent results
This bug prevents us from using query parameters in URLs that contain template variables, which breaks critical functionality in our email campaigns where we need to pass parameters for tracking and routing purposes.
Possible Solution
A fix could involve either:
Preserving special characters in HTML blocks without conversion
Properly encoding ampersands as HTML entities without combining them with following characters
Adding a configuration option to disable special character processing in HTML blocks
Thank you for looking into this issue. Please let me know if you need any additional information or clarification.
The text was updated successfully, but these errors were encountered:
Description
When inserting HTML code with URL query parameters into HTML blocks in the Unlayer email editor, ampersand (
&
) characters in URLs are incorrectly converted to "not equal" (¬
) symbols followed by the next character. This breaks URL functionality in the generated email templates.Reproduction Steps
Example Code
Original HTML input:
Resulting HTML output:
Expected Behavior
The ampersand character should be preserved as-is or properly encoded as
&
in the HTML output, but should not be converted to a different character that breaks URL functionality.Environment
Additional Context
This issue specifically affects template variables in URLs. When using URL query parameters with the ampersand character after a merge tag/template variable (like
{{link}}¬e=5
), the ampersand is combined with the next character to form the "not equal" character, breaking the URL structure.We've attempted various workarounds including:
&
- still results in character conversionImpact
This bug prevents us from using query parameters in URLs that contain template variables, which breaks critical functionality in our email campaigns where we need to pass parameters for tracking and routing purposes.
Possible Solution
A fix could involve either:
Thank you for looking into this issue. Please let me know if you need any additional information or clarification.
The text was updated successfully, but these errors were encountered: