Jump to content

Import html markup


combicart
 Share

Recommended Posts

I'm currently using the RSS Feed Loader module (https://modules.processwire.com/modules/rss-feed-loader/) to import an RSS feed. In the feed there is an 'description' field that has html markup inside. By default the html markup is stripped out by the module

Therefore i've used the option below to render the description including markup:

$rss->stripTags = false;

After adding this option, the values in the database are still escaped, e.g. like:

<h3 class="deprecated-h3">Description</h3>
<p>Description</p> 

Would it be possible to save  the description field directly into the database (including it's HTML markup)?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...