HTML | WordPress | pre tag not working

|
| By Webner

When pre tag is used in WordPress to include code which contains tags like apex, pre does not work.

For Example:

<apex:page standardController="Event">

The above code displays empty screen when used in the pre tag.

Solution: Replace < with &lt; and > with &gt; when you use it in pre tag.

<apex:page standardController="Event">

After making this change, tag works well.

Leave a Reply

Your email address will not be published. Required fields are marked *