[ckan-changes] commit/ckan: pudo: [templates] don't extract script tag content and normal JS files in templates (fixes #1249)
Bitbucket
commits-noreply at bitbucket.org
Fri Jul 29 17:04:26 UTC 2011
1 new changeset in ckan:
http://bitbucket.org/okfn/ckan/changeset/0398243111d4/
changeset: 0398243111d4
user: pudo
date: 2011-07-29 19:04:17
summary: [templates] don't extract script tag content and normal JS files in templates (fixes #1249)
affected #: 1 file (67 bytes)
--- a/setup.py Fri Jul 29 12:59:47 2011 +0100
+++ b/setup.py Fri Jul 29 19:04:17 2011 +0200
@@ -34,8 +34,10 @@
message_extractors = {'ckan': [
('**.py', 'python', None),
('templates/importer/**', 'ignore', None),
- ('templates/**.html', 'genshi', None),
- ('templates/**.js', 'genshi', {
+ ('templates/**.html', 'genshi', {
+ 'ignore_tags': 'script'
+ }),
+ ('ckan/templates/home/language.js', 'genshi', {
'template_class': 'genshi.template:TextTemplate'
}),
('templates/**.txt', 'genshi', {
Repository URL: https://bitbucket.org/okfn/ckan/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the ckan-changes
mailing list