Hello
I would like to understand how to delete html tags from a text field.
Would anyone know how to give me some advice?
thank you very much
Is this a question related to ADF?
Hello
it is not related to the ADF. I have an xml xon a text field that at the time of typing from the interface the user could also insert html tags like <li> test test </ li>
I would simply delete these tags.
Have you some suggestions to give me?
thank you very much
On npm, there are many libraries to Sanitize untrusted HTML you can search about it and avoid completely to store it with the HTML tags
Thank a lot. I should make sure that.
<property name="gth:toDo"><title>To do </title> d:text</property>
sss
sss
bb Do you think there is a property to disable html tags?
I would like the html tags not to be stored while the user writes:
<li> <li> good morning </li>
I w would like the <li> and </li> not to be stored... It's possible?
than Thank you very much
I think you should give a look at those libraries that I told you is possible with them. I suggest you to look for Sanitize untrusted HTML.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.