The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

FireStorm Professional Real Estate Plugin
[resolved] Break tags beiing added to unordered lists. (2 posts)

  1. krawe
    Posted 3 years ago #

    I am adding a listing using the plugin, and for some reason
    tags are being added by the listing engine to my unordered lists.

    <h2>Description</h2><p><ul><br />
    	<li>Item One<br />
    <ul><br />
    	<li>Item two...</li><br />
    	<li>Item Three...</li><br />
    </ul><br />

    It seems like it's adding a break tag to just about every line of code from what I can see when I do a view source. Can I get rid of this? It's kind of a pain. Thanks...


  2. krawe
    Posted 3 years ago #

    I found it, in case anyone happens across this thread and is having the same problem. Line 63 contains this line:

    $PageContent .= '<p>'.stripslashes(nl2br($ListingDetails->listing_description)).'</p>';

    remove the nl2br function. This is adding the breaks. Then your code will look like this:

    $PageContent .= '<p>'.stripslashes($ListingDetails->listing_description).'</p>';

    And you will have it fixed.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • FireStorm Professional Real Estate Plugin
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.