Community talk about communities.sas.com. Meta!

Invalid HTML

Accepted Solution Solved
Reply
Super Contributor
Posts: 298
Accepted Solution

Invalid HTML

 

When I post a reply, I get the following message for the last two days and it was not there before. It also tells me something of  highlighted/marked string. I don't see any such. What am I doing? How do I find the annoying symbol or string before I post?

 

Your post has been changed because invalid HTML was found in the message body.
The invalid HTML has been removed. Please review the message and submit
the message when you are satisfied.

 

 


Accepted Solutions
Solution
‎08-02-2016 07:28 PM
Community Manager
Posts: 587

Re: Invalid HTML

Our platform has an HTML parser that limits what tags you can use in posts. That said, there's supposed to be a validtion step that validates the HTML and removes anything that is invalid (such as HTML that is incorrectly formatted or tags that don't exist). This may be the cause of the error.

 

See attached doc to see what's allowed. Hopefully, it's an easy fix. Let us know.

 

 

-
Bev Brown
Visit me on LinkedIn.
Twitter too: @BevBrown
Thank you for using SAS.jpg

View solution in original post


All Replies
Super User
Posts: 19,869

Re: Invalid HTML

Create a new post, and then switch to HTML view to see if any offending characters?

 

@ChrisHemedinger Any info? It does look like the site did do some changes recently, so it's probably coming from that.

Community Manager
Posts: 2,955

Re: Invalid HTML

I'm not sure what's going on here.  Does it happen every time?  Do you have a "signature" configured in your settings that might be appending to your message?  Any browser plugins/extensions that you've added recently that might affect the content as you edit it?

Community Manager
Posts: 587

Re: Invalid HTML

Posted in reply to ChrisHemedinger

I found an old resolved thread in the Lithium support community that may shed some light: http://community.lithium.com/t5/Developers-Discussion/REST-API-Getting-error-during-posting-new-mess...

-
Bev Brown
Visit me on LinkedIn.
Twitter too: @BevBrown
Thank you for using SAS.jpg
Super User
Posts: 19,869

Re: Invalid HTML

Posted in reply to BeverlyBrown

@BeverlyBrown We can't see that post unless we sign up on Lithium portal Woman Sad

Community Manager
Posts: 587

Re: Invalid HTML

Oops, that wasn't very helpful of me! Will summarize the relevant bit asap, unless one of my colleagues beats me to it.
-
Bev Brown
Visit me on LinkedIn.
Twitter too: @BevBrown
Thank you for using SAS.jpg
Super Contributor
Posts: 298

Re: Invalid HTML

Posted in reply to ChrisHemedinger

I looked my settings yesterday but I think I haven't changed any thing. Administers may examine to set right my settings to the default.

Solution
‎08-02-2016 07:28 PM
Community Manager
Posts: 587

Re: Invalid HTML

Our platform has an HTML parser that limits what tags you can use in posts. That said, there's supposed to be a validtion step that validates the HTML and removes anything that is invalid (such as HTML that is incorrectly formatted or tags that don't exist). This may be the cause of the error.

 

See attached doc to see what's allowed. Hopefully, it's an easy fix. Let us know.

 

 

-
Bev Brown
Visit me on LinkedIn.
Twitter too: @BevBrown
Thank you for using SAS.jpg
☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 7 replies
  • 847 views
  • 0 likes
  • 4 in conversation