Environment
Comark Version: 0.5.0
Framework: Vue
Chrome Version: 109
Comark Version
v0.5.0
Reproduction
Chrome 109
Open the playground: https://comark.dev/play/editor?example=all-features
Clear the editor and paste the markdown below
Description
The output of the large model is unstable and may output characters such as Alert {id="1""} with additional quotation marks, which can result in illegal attribute names and error messages in lower versions
Low version browsers such as Chrome 109 may generate errors when setting illegal attribute names
The 'is not a valid attribute name' in the error message refers to a single double quotation mark character. According to HTML standards, attribute names cannot contain characters such as', ',<,>,/,=, etc., so the browser directly throws a DOMException
Additional context
No response
Logs
Environment
Comark Version: 0.5.0
Framework: Vue
Chrome Version: 109
Comark Version
v0.5.0
Reproduction
Chrome 109
Open the playground: https://comark.dev/play/editor?example=all-features
Clear the editor and paste the markdown below
Description
The output of the large model is unstable and may output characters such as Alert {id="1""} with additional quotation marks, which can result in illegal attribute names and error messages in lower versions
Low version browsers such as Chrome 109 may generate errors when setting illegal attribute names
The 'is not a valid attribute name' in the error message refers to a single double quotation mark character. According to HTML standards, attribute names cannot contain characters such as', ',<,>,/,=, etc., so the browser directly throws a DOMException
Additional context
No response
Logs