Ticket #393 (new defect)
The ignore_tags setting does not work with Genshi templates
| Reported by: | Viktor Ferenczi <python@…> | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | major | Milestone: | 0.6.1 |
| Component: | Internationalization | Version: | 0.6 |
| Keywords: | i18n filter translator xml namespace ignore ignore_tags skip script style | Cc: |
Description
We've a simple Genshi template file containing a <script> tag with a few JavaScript code in it.
Its contents are copied into the pot file while using Babel's extraction tool despite both script and style tags should be ignored by default according to Genshi's documentation.
I've debugged this and it proved to be a problem with Genshi's translator, since that helps to extract translatable messages.
A patch file has been attached which can be applied to the stable Genshi 0.6 release.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

