msi wrote:

> I have a plugin (self-written). It creates internal links between my
> posts and pages, etc. For example <post byslug="slug-name">my text</
> post> would create a link to the post with the "slug-name" slug. I use
> the HTML syntax in case the plugin is disabled to avoid unwanted
> output. It works great with posts and pages. It does not work in
> comments because of the InputFilter class. This class removes unknown
> HTML elements and my tags are unknown to it.
> 
> Does anyone know a way to bypass this filter without really bypassing
> it? Or does anyone have a good idea how to solve this?

The right way, I think, would be to add plugin hooks to the InputFilter 
so you could modify the element whitelist etc. from a plugin.

Currently there is no proper way to override the whitelist.

-Matt

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/habari-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to