Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
How to filter RedCloth output
Oscar Del ben
9/30/2008 7:22:00 PM
Hi, I'm looking on how to filter out certain tags from RedCloth output.
For example the user in my application shouldn't be able to use images
or headers. Is this functionality already built in or did i have to
filter it by myself?
--
Posted via
http://www.ruby-...
.
1 Answer
Nit Khair
10/1/2008 7:42:00 AM
0
Oscar Del ben wrote:
> For example the user in my application shouldn't be able to use images
> or headers. Is this functionality already built in or did i have to
> filter it by myself?
You would either filter it out prior to giving to rc or after. You can
use some simple regexps to filter out images.
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
How to filter RedCloth output
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password