Fix in mtemplates
This commit is contained in:
parent
88f3186792
commit
77f4aa5013
2 changed files with 2 additions and 2 deletions
|
|
@ -64,7 +64,7 @@ def env_theme(module, cache_enabled=True, cache_impl='', cache_args={}, module_d
|
||||||
|
|
||||||
#Standard templates
|
#Standard templates
|
||||||
#print(standard_templates)
|
#print(standard_templates)
|
||||||
return TemplateLookup(directories=search_folders, default_filters=['h'], input_encoding='utf-8', encoding_errors='replace', cache_enabled=cache_enabled, cache_impl=cache_impl, cache_args=cache_args, module_directory=module_directory, filesystem_checks=config.debug)
|
return TemplateLookup(directories=search_folders, default_filters=['h'], input_encoding='utf-8', encoding_errors='replace', cache_enabled=cache_enabled, cache_impl=cache_impl, cache_args=cache_args, module_directory=module_directory, filesystem_checks=config.reloader)
|
||||||
|
|
||||||
def preload_templates(template_files, env):
|
def preload_templates(template_files, env):
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -125,7 +125,7 @@ class PhangoField:
|
||||||
self.error=False
|
self.error=False
|
||||||
self.txt_error=''
|
self.txt_error=''
|
||||||
|
|
||||||
value=str(value)
|
value=str(value).strip()
|
||||||
|
|
||||||
if self.escape==False:
|
if self.escape==False:
|
||||||
value=value.replace('<', '<')
|
value=value.replace('<', '<')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue