Server-side script display filter

Is it possible to create a filter that can display pages created for server side scripting correctly?

E.g. to have a feature that filters out (ignores) Django or ASP.NET tags? Or any other server side scripting language?

Without the pages are not displayed correctly.

Thanks.