[resolved] Displaying html in text (3 posts)

  1. Robax
    Posted 2 years ago #

    In the documentation it states that you can put html in the view slot under the text brick. However, I am having trouble making this work in practice.

    Specifically, I would like to add page breaks (
    ) here, instead of cheesy hyphen lines:


  2. 2046
    Plugin Author

    Posted 2 years ago #

    yep, you are right!

    That is because of the new security. All the fields are escaped, so that nobody can inject anything wrong in there.

    You can make your own brick if you like, here is how: http://2046.cz/easy/extend

    only the esc value should be empty in your case:
    'esc' => 'stip_tags' // empty means ''

    put the whole code (from link) in your function.php and you should be ready to go.
    If you know how to work with WP templates you can hack the control output even further if you like.

    This way it will be your fault if someone hack your site and inject something in there, which is unlikely ..anyway.

    It won't work.. I'm checking the field if it is not empty, and if it is, it won't process the data.

    Let me think.. I should think about the solution first

  3. 2046
    Plugin Author

    Posted 2 years ago #

    New version should be ready for download:

    version 0.8.1 changes
    * small fix (before & after widget)
    * text Brick allows html tags, same as you can use in post content

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Easy
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.