Community talk about communities.sas.com. Meta!

Invalid HTML

Accepted Solution Solved
Reply
Super Contributor
Posts: 255
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: 552

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.

 

 

View solution in original post


All Replies
Super User
Posts: 17,851

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,763

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: 552

Re: Invalid HTML

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...

Super User
Posts: 17,851

Re: Invalid HTML

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

Community Manager
Posts: 552

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.
Super Contributor
Posts: 255

Re: Invalid HTML

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: 552

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.

 

 

☑ This topic is SOLVED.

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

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