Forum Discussion

iahiqosolutions's avatar
12 years ago

REST API. Getting error during posting new message

Hello guys,   I get the following error when I'm try to post new message on a board via Lithium REST API:   message.body: Your post has been changed because invalid HTML was found in the message ...
  • AllenS's avatar
    AllenS
    12 years ago

    iahiqosolutions wrote:

    Hello AllenS,

     

    The HTML code that you suggested is working perfectly well,

    but there is a moment which is not clear for me:
    How can I switch HTML set that is currently used by Lithium(superSimpleHTMLTags, simpleHTMLTags, basicHTMLTags)?

    Can I create my own HTML tag set?(for example, I want to allow to use each user tag "img")

     


    Hi iahiqosolutions,

     

    I'm glad to hear that worked out!

     

    Changing which tags the HTML parser allows is something the Lithium team will have to adjust for you on the backend. If you file a support case with the changes you would like to make we can go ahead and set that up on stage for you to review. You can submit a support case by accessing the Lithium support portal on the Lithosphere or by e-mailing support@lithium.com directly.

     

    Have a great day!