17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1394 Views |
-
Site search -> strip tags

30 August 2008 at 9:08pm Last edited: 30 August 2008 9:30pm
I have a working version of
http://doc.silverstripe.com/doku.php?id=tutorial:4-site-search
What I want to do, is make it so that when it shows the results, it takes out any "<br />" tags in the html.
Do you have any ideas of how to do this?
I'm guessing it would be modifying this line:
'Results' => $form->getResults(),
but I'm not sure what to modify it to.
-----------
maybe using or reversing
Class SimpleTagBuilder
-----------
maybe with
-
Re: Site search -> strip tags

30 August 2008 at 10:03pm
Easy fix with css...
.searchResults br {
display: none;
}Didn't think about that till I had already wasted an hour or two =)
| 1394 Views | ||
|
Page:
1
|
Go to Top |

