PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Any way to remove <br /> tags from search results?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ray
    replied
    One way to do it is via CSS in your "search_template.html" file, like so:

    .summary br { display: none; }

    If you want both summary div blocks to appear on the same line, you can go further and do this as well:

    .summary { display: inline; }

    Leave a comment:


  • aezzell
    started a topic Any way to remove <br /> tags from search results?

    Any way to remove <br /> tags from search results?

    This is part of the code that appears on a results page;

    <div class="summary">The following word(s) are in the skip word list and have been omitted from your search: "<b>of</b>"<br />
    <br /></div>
    <div class="summary">
    43 results found containing all search terms. 217 results found containing some search terms. <br />
    </div>
    Is there a straightforward way to remove those <br/> tags?

    ETA: I'm using the ASP.NET version
    Last edited by aezzell; Jan-31-2011, 06:33 PM. Reason: clarification
Working...
X