Mittels API HTML-text in description schreiben
-
hi- ich hab og. probiert, aber scheinbar filtert mir irgendetwas auf i-doit seite die inline-styles aus den spans raus..
api call mit:
category.update
description ===>
–----------------- begin ansible output ----------------
Using /etc/ansible/ansible.cfg as config file
[..]kommt im idoit an als:
- begin ansible output –-------------- Using /etc/ansible/ansible.cfg as config [..]
gibts eine option um da rohes html reinschreiben zu duerfen ?
-
es funktioniert! hab an falscher stelle geaendert..
-
wird dringelassen,
das style attribut vom span wird gefiltert.gibts da eine moeglichkeit ?
-
Hi,
schau mal in der Verwaltung unter den "CMDB Einstellungen" und dann unter den "Allgemeine Einstellungen" was unter "Dateneingabe bereinigen *" eingestellt ist. Aktiviert werden HTML-Tags rausgefiltert. Inwieweit das sauber über die API funktioniert, weiß ich jedoch nicht.
Lieben Gruß
Christian -
ja, wenn man die data sanitation abdreht, gehts!
danke super tipp!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login