Skip to content

Commit

Permalink
Add strip_text to documented options
Browse files Browse the repository at this point in the history
  • Loading branch information
amol- committed Nov 27, 2016
1 parent bfc34f7 commit bfd0706
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tg/renderers/kajiki.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class KajikiRenderer(RendererFactory):
- ``templating.kajiki.xml_autoblocks`` -> List of tags that should be automatically converted to blocks.
- ``templating.kajiki.cdata_scripts`` -> Automatically wrap scripts in CDATA.
- ``templating.kajiki.html_optional_tags`` -> Allow unclosed html, head and body tags.
- ``templating.kajiki.strip_text`` -> Strip leading/trailing spaces from text nodes.
Supported ``render_params``:
Expand All @@ -44,6 +45,7 @@ class KajikiRenderer(RendererFactory):
'xml_autoblocks': aslist,
'cdata_scripts': asbool,
'html_optional_tags': asbool,
'strip_text': asbool
}
engines = {'kajiki': {'content_type': 'text/html'}}

Expand Down

0 comments on commit bfd0706

Please sign in to comment.