After_filter to disable links and javascript

does anybody know of an existing rails after_filter that does something
like disable_javascript or disable_links?

I’m thinking it would be useful for a wiki preview page kind of thing -
show you what your update would look like with links and all, but not
let you click through on them.

Many thanks in advance.

CHEERS> SAM