How to comment with code snippets on the RedDot CMS blog or here

By reading another blog feed of an esteemed subscriber, I found a nice way to Escape your HTML code when commenting.

The problem with commenting and sending code snippets

It is always the same, you prepare your code, you paste it into the comment box and SHAZZAN! it’s gone and only your text is left…

The solution can be found here, a quick and easy way to do the escape job for you.

So your HTML which looks like this:
<strong>Hello World!</strong>
Becomes that:
&lt;strong&gt;Hello World!&lt;/strong&gt;
But will be shown as you want it! Cool! Thank you Tiffany!

1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5 out of 5)
Loading ... Loading ...

Kommentarfunktion ist deaktiviert