Report any technical problems you discover and discuss solutions.

Using HTML in content

  • 3881
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
4 jaren 3 weken geleden #8212 door 3881
Using HTML in content werd gestart door 3881
I am trying to create content for a HTML course and want to use HTML code examples in a text element. The editor keeps replacing or deleting the tags I want to display.
I have tried placing the example code between pre-tags after displaying the page source to edit it. In the html code I have replaced < and > with &lt; and &gt;.
After editing another element and returning to my example code &lt;h1&gt; is replace by <h1> and shown as a header. &lt;body&gt; is removed.
I can't find a way to display HTML code in the content.

Is there a way to use HTML code in the content of my courses?

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • 3881
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
4 jaren 3 weken geleden - 4 jaren 3 weken geleden #8213 door 3881
Beantwoord door 3881 in topic Using HTML in content
Ok, the forum is doing something simular.

The first <h1> should be

& lt ; h1 & gt ;

without spaces.

And <body> should be

& lt ; body & gt ;

without spaces.
Laatst bewerkt 4 jaren 3 weken geleden door 3881.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
4 jaren 3 weken geleden #8214 door tom
Beantwoord door tom in topic Using HTML in content
If you are able to upgrade your Xerte install to version 3.11 that we released on July 4, there is a 'codesnippet' button in teh toolbar of the editor that enable just this and prevents changing the tags and/or interpreting the tags as HTML.
De volgende gebruiker (s) zei dank u: takeshi, 3881

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Moderators: ronmjultenJohnSmith
Tijd voor maken pagina: 0.129 seconden
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo