TIL - Fixing the invalid HTML error when posting in Khoros
Today I was trying to send a message via Khoros to the people who have RSVPd for a couple of SAP CodeJams that I will be running in Zagreb, Croatia ((Integration Suite, btp CLI)) next week and I was getting the infamous invalid HTML error when drafting the message. Sometimes the platform automagically fixes the issue but in this case, I was still getting the message. When inspecting the HTML, I noticed an additional tag that I’d not seen before in an [HTML tag](https://www.w3schools.com/tags/tag_a.asp). So, whenever you face this issue, check for any odd attributes that you might find in your HTML.
SAP Community - Invalid HTML error
- Problem: I originally copied the message from Outlook and the hyperlinks ( tags) includes the additional attribute -
data-outlook-id
. - Solution: This attribute
data-outlook-id
was causing the issue. Remove it from the HTML and it works fine.
Written on February 9, 2024