[Vue3, Vite] Error if string value contain HTML and special characters
Author: cuong-nguyenCreated Jul 19, 2023Updated Jul 1, 2024
LabelsStatus: Review Needed
Reporting a bug?
Hi. I am experiencing this issue
If the value contain HTML content (exactly shown below) string value:
"<p>\r\n We will provide you with support if you experience problems or have questions. \r\n Please contact us using email <a href=\"[email protected]\">[email protected]</a>\r\n</p>\r\n\r\n<p>\r\n Questions concerning products, price, customer agreements. \r\n</p>"It points at the email part and reports the error
Message compilation error: Invalid linked formatIt even forces the page to shut down after some time (please refer to reproduction link)
Appreciate any help!
Expected behavior
It would not error out
Reproduction
https://stackblitz.com/edit/vue-vqfhwk?file=src%2Fmain.js,src%2FApp.vue
System Info
MacOS Ventura
Edge browserScreenshot
No response
Additional context
No response
Validations
- Read the Contributing Guidelines
- Read the Documentation
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion
- The provided reproduction is a minimal reproducible example of the bug.
Source: kazupon/vue-i18n