Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Vue3, Vite] Error if string value contain HTML and special characters #1678

Open
5 tasks done
cuong-nguyen opened this issue Jul 19, 2023 · 4 comments
Open
5 tasks done
Labels
Status: Review Needed Request for review comments

Comments

@cuong-nguyen
Copy link

cuong-nguyen commented Jul 19, 2023

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 format

It 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 browser

Screenshot

No response

Additional context

No response

Validations

@cuong-nguyen cuong-nguyen added the Status: Review Needed Request for review comments label Jul 19, 2023
@Sepulven
Copy link

+1.

Same issue with @ character. Unfortunately, I can't escape it therefore I can't have a message like :
"Email to [email protected]."

I'll keep getting the same error:
Message compilation error: Unexpected lexical analysis in token: 'gmail.com'

And what the message that is going to be printed is: owner..

Any updates in this matter?

@GeekKekeQiu
Copy link

Any updates?

@Sepulven
Copy link

Any updates?

Sadly not.

@marcdix
Copy link

marcdix commented Jul 1, 2024

Concerning the @ character: #1358 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Review Needed Request for review comments
Projects
None yet
Development

No branches or pull requests

4 participants