• Resolved kamaleon

    (@kamaleon)


    If I put plain text block and inside I add a ‘<‘ I get it converted to &lt;

    Why is that? How can I fix it?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Joash (a11n)

    (@joashrajin)

    Hi there, @kamaleon

    This is due to HTML escaping. This is a security and rendering feature, which would generally be applied to plain text.

    In the meantine, can you try using the HTML / XHTML / XML / XSLT option.

    If you can share your use-case as to why you are using the plain text option, we can look into whether this needs to be improved.

    Thread Starter kamaleon

    (@kamaleon)

    It is for a post using simple apache configuration guidelines.

    These ones

    <Directory /var/www/mydomain.com/public_html>
            Require all granted
    </Directory>

    <VirtualHost *:80>
            ServerName mydomain.com
            ServerAlias www.mydomain.com
            ServerAdmin webmaster@localhost
            DocumentRoot /var/www/mydomain.com/public_html
            ErrorLog /var/log/apache2/mydomain.com.error.log
            CustomLog  /var/log/apache2/mydomain.com.access.log combined
    </VirtualHost>

    What should I use for that?

    I thought simple text would be the best option.

    • This reply was modified 12 months ago by kamaleon. Reason: better format
    Plugin Support Joash (a11n)

    (@joashrajin)

    @kamaleon thanks for sharing!

    Yes, we do not have a specific category for this, and deciding to use the plain text option makes a lot of sense. Since that is escaping the symbols, I’d try BASH/Shell instead.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Plain text and <’ is closed to new replies.