WordPress.org

Forums

Insert <code> problem (2 posts)

  1. thinkweird
    Member
    Posted 7 years ago #

    I tried to put this code into , but the lines that are enclosed in < > are not shown in the posts.

    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>

    And the result became:

    SecFilterEngine Off
    SecFilterScanPOST Off
  2. thinkweird
    Member
    Posted 7 years ago #

    I just found that if I replace < with &lt and > with &gt
    the codes can display correctly.

    Is there a better way to do this and avoid the hassle?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.