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

Tag visible on Sun editor #1122

Closed
vipin9457 opened this issue Nov 8, 2022 · 2 comments
Closed

Tag visible on Sun editor #1122

vipin9457 opened this issue Nov 8, 2022 · 2 comments
Labels
hold When the issue does not reproduce

Comments

@vipin9457
Copy link

vipin9457 commented Nov 8, 2022

Following steps to reproduce the issue

1- Paste the following html content on code view

"<p style="margin-bottom: 0in">\r\n\t<font color="#000000"><font face="Verdana, serif"><font size="4" style="font-size: 16pt">Do you agree with the following statements is not correct the data tested data?</font></font></font></p>\r\n<ol>\r\n\t<li>\r\n\t\t<p style="margin-bottom: 0in">\r\n\t\t\t<font face="Arial, serif"><font size="5">Mr. Kantha print is a design pattern of West Bengal.</font></font><font face="Verdana, serif"><font size="4" style="font-size: 16pt"> </font></font><font color="#000000"><font face="Verdana, serif"><font size="4" style="font-size: 16pt">Agree/Disagree</font></font></font></p>\r\n\t</li>\r\n\t<li>\r\n\t\t<p style="margin-bottom: 0in">\r\n\t\t\t<font face="Verdana, serif"><font size="4" style="font-size: 16pt">Carrot Brocolli and Cauliflower are fruits.</font></font><font color="#000000"><font face="Verdana, serif"><font size="4" style="font-size: 16pt">Agree/Disagree</font></font></font></p>\r\n\t</li>\r\n\t<li>\r\n\t\t<p style="margin-bottom: 0in">\r\n\t\t\t<font face="Verdana, serif"><font size="4" style="font-size: 16pt">Lotus Tree stems are pickled and also eaten as vegetable. Agree/Disagree</font></font></p>\r\n\t</li>\r\n\t<li>\r\n\t\t<p style="margin-bottom: 0in">\r\n\t\t\t<font face="Verdana, serif"><font size="4" style="font-size: 16pt">Jasmine flower</font></font><font color="#000000"><font face="Verdana, serif"><font size="4" style="font-size: 16pt"> is used for preparing tea leaves. Agree/Disagree</font></font></font></p>\r\n\t</li>\r\n\t<li>\r\n\t\t<p style="margin-bottom: 0in">\r\n\t\t\t<font face="Verdana, serif"><font size="4" style="font-size: 16pt">Goddess Lakshmi sits on a rose flower. </font></font><font color="#000000"><font face="Verdana, serif"><font size="4" style="font-size: 16pt">Agree/Disagree</font></font></font></p>\r\n\t</li>\r\n</ol>\r\n"

2- Sun editor shows the html tag

Screenshot 2022-11-08 at 1 15 17 PM

@JiHong88 @rwaldron @madarche @rwhite226 @kubabogaczewicz

Please help on the above issue

@JiHong88 JiHong88 added the hold When the issue does not reproduce label Nov 8, 2022
@JiHong88
Copy link
Owner

JiHong88 commented Nov 8, 2022

This issue is not reproduced.
Please tell me more accurate test environment.

@vipin9457
Copy link
Author

@JiHong88 Please find the details for above bug

Describe the bug
When we add a html code on the code view and close the code view, then the blow tag is not rendered properly when using katex plugin.

To Reproduce
Steps to reproduce the behavior:
1- Click on the code view
2- Add the below code on code view
"

\r\n\tDo you agree with the following statements is not correct the data tested data?

\r\n
    \r\n\t
  1. \r\n\t\t

    \r\n\t\t\tMr. Kantha print is a design pattern of West Bengal. Agree/Disagree

    \r\n\t
  2. \r\n\t
  3. \r\n\t\t

    \r\n\t\t\tCarrot Brocolli and Cauliflower are fruits.Agree/Disagree

    \r\n\t
  4. \r\n\t
  5. \r\n\t\t

    \r\n\t\t\tLotus Tree stems are pickled and also eaten as vegetable. Agree/Disagree

    \r\n\t
  6. \r\n\t
  7. \r\n\t\t

    \r\n\t\t\tJasmine flower is used for preparing tea leaves. Agree/Disagree

    \r\n\t
  8. \r\n\t
  9. \r\n\t\t

    \r\n\t\t\tGoddess Lakshmi sits on a rose flower. Agree/Disagree

    \r\n\t
  10. \r\n
\r\n"
3- Close the code view
4- Now you can see in editor HTML tag are shown instead of data .

Screenshots
https://user-images.githubusercontent.com/5819814/200504386-a5896c60-c39b-4064-9203-3a0c12631797.png

Desktop (please complete the following information):

OS: All
Browser All
Version All
Additional context

Please find the HTML below:
"

\r\n\tDo you agree with the following statements is not correct the data tested data?

\r\n
    \r\n\t
  1. \r\n\t\t

    \r\n\t\t\tMr. Kantha print is a design pattern of West Bengal. Agree/Disagree

    \r\n\t
  2. \r\n\t
  3. \r\n\t\t

    \r\n\t\t\tCarrot Brocolli and Cauliflower are fruits.Agree/Disagree

    \r\n\t
  4. \r\n\t
  5. \r\n\t\t

    \r\n\t\t\tLotus Tree stems are pickled and also eaten as vegetable. Agree/Disagree

    \r\n\t
  6. \r\n\t
  7. \r\n\t\t

    \r\n\t\t\tJasmine flower is used for preparing tea leaves. Agree/Disagree

    \r\n\t
  8. \r\n\t
  9. \r\n\t\t

    \r\n\t\t\tGoddess Lakshmi sits on a rose flower. Agree/Disagree

    \r\n\t
  10. \r\n
\r\n

JiHong88 added a commit that referenced this issue Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hold When the issue does not reproduce
Projects
None yet
Development

No branches or pull requests

2 participants