-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
missing the transformation filters #23
Comments
well i did monkey patch the template loaded in the (subclassed loader)._load by changing _render_attrs. |
Note that even though we can implement a stack to track the tags, it won't be possible to actually implement transformations. As Kajiki is designed like Jinja it has no representation of the DOM that can be modified at runtime. To achieve dynamic tags those should be created from python code itself |
thanks @amol . |
hello friends,
and many thanks for providing kajiki.
with genshi, i was using transformation filters,
that allowed me to give a last touch to some tags' attributes.
how could i hook a callback in kajiki template _render_attrs?
how could _render_attrs know the tag name it was called for?
should such callback be hooked somewhere else?
thanks in advance,
alex
The text was updated successfully, but these errors were encountered: