You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2019-04-12 19:45:54

kpcomp
Member
Registered: 2008-07-12
Posts: 57

How to post XML/HTML etc. via <code> or <pre> to tasks

Hello,

we need to post preformatted content such as copied record from Windows log
or configuration in form of XML etc.

Usually it's possible via Format - Inline - Code or Format - Block - Preformated.
i.e. via <code> or <pre>

This works in GLPI only until I save my task; then this text is gone (not saved).
... rest of the content remains - just this formatted text is gone

Example of such text I need to copy/paste there:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <startup>
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />
    </startup>
  <appSettings>
    <add key="LogFile" value="...\log.txt" />
    <add key="InputXMLFolder" value="..." />
    <add key="OutputXMLFolder" value="..." />
    <add key="ArchivXMLFolder" value="..." />
    <add key="OutputDocumentFolder" value="..." />
  </appSettings>
</configuration>

This was possible when Rich Text with disabled.
As it's now enabled by default it's a problem.

Any help appreciated.

Offline

Board footer

Powered by FluxBB