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

[Bug][Editor] Error is thrown if style attribute has spaces at the end #2252

Open
vveesseelliinnaa opened this issue May 15, 2024 · 0 comments
Assignees
Labels
Bug Item which indicates that something is not working KendoReact pkg:Editor SEV: Medium

Comments

@vveesseelliinnaa
Copy link
Contributor

I'm submitting a...

  • Bug report

Current behavior

A JavaScript error is thrown whenwhen there is an unnecessary space at the end of the style attribute value:
image

  const contentDummy = `<html>
 <body>
 <table>
  <tr style="color:#333333; line-height:150%; ">
  </tr>
  </table>
  </body>
  </html>
  `;

Expected behavior

No errors are thrown.

Minimal reproduction of the problem with instructions

  1. Go to https://stackblitz.com/edit/react-4ncdxe-ckfnof?file=app%2Fmain.jsx

What is the motivation or use case for changing the behavior?

Environment

Package versions:

8.0.0

Additional information

Reported in Ticket ID: 1650957

@vveesseelliinnaa vveesseelliinnaa added pkg:Editor SEV: Medium KendoReact Bug Item which indicates that something is not working labels May 15, 2024
@iadnonov iadnonov closed this as completed Jun 4, 2024
@iadnonov iadnonov reopened this Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Item which indicates that something is not working KendoReact pkg:Editor SEV: Medium
Projects
None yet
Development

No branches or pull requests

3 participants