Forum Discussion

angela's avatar
angela
Catalyst II
4 months ago
Solved

The new forum doesn´t like any kind of HTML when you post.

Hi Aras Team,

the new forum seems to be a bit of a diva when I post something that contains any kind of minimal styling. I am not talking about fancy html, but trivial elements like a bullet point list that the forum editor itself generates.

  • Test
  • Test

Example: Here I try to answer a post. 100% native content written by myself. The editor helped me with the bullet point list. The same bullet point list is not accepted. 

Translation of error message:

"Content not published". Your post contains invalid HTML. Remove the tags before publishing: span(style)"

 

 

  • Thanks for the help everyone! Clipboard was a good hint! Yes that could be the reason! Here some test with text copy/pasted from Chat GPT:

     

7 Replies

  • And another test with Google Translate

    This is a test sentence.

    ----

    Edit: This last post worked fine. I tried to remove this post, but it seems that deleting posts is currently not possible on the forum.

    I don´t  see the HTML restriction as a significant problem. It probably serves an important role in reducing spam, so it might be best to leave it unchanged.

  • When creating new posts, the html elements doesn´t seem to be an issue. But I cannot use them in the answers

    • Test?

     

    Edit: I obviously worked in this test, but I get the red error message very often.

  • Did you try using the code editor? This things worked well  for me 

    <!DOCTYPE html>
    <html>
    <head>
    <title>My First HTML Page</title>
    </head>
    <body>
    <h1>Welcome to My Website</h1>
    <p>This is a paragraph of text on my first web page.</p>
    <a href="https://www.example.com">Visit Example</a>
    <img src="example.jpg" alt="Example Image" width="200" height="100">
    </body>
    </html>

     

  • I swear I didn´t use anything of this features!
    In a post today I just wanted to share a link and the forum very much disapproved it. 

    Let´s try again with some random link: https://translate.google.com/

    Edit: Of course it works perfectly now :D . I think the Chrome auto-translator is maybe the root cause...

  • eli_donahue's avatar
    eli_donahue
    Community Manager

    Hey Angela! Quick question - are you getting this error when typing in content manually, or when pasting it from your clipboard?

    If you see this error again, can you use the code editor to capture the HTML that's throwing the error? That might help us investigate the issue and/or report it to the platform vendor.

  • Thanks for the help everyone! Clipboard was a good hint! Yes that could be the reason! Here some test with text copy/pasted from Chat GPT: