compressinja 0.0.2

Jinja2 extension that removes whitespace between HTML tags

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
BSD License 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Stanislav Feldman
HOMEPAGE:
github.com
CATEGORY:
ROOT \ Internet \ HTTP (WWW)
compressinja is an MVC web framework in Python with Gevent, Jinja2, Werkzeug.

Usage

# all spaces will be removed
env = Environment(extensions=['jinja2htmlcompress.HTMLCompress'])

# or some spaces
env = Environment(extensions=['jinja2htmlcompress.SelectiveHTMLCompress'])
#in template
{% strip %} ... {% endstrip %}

Last updated on December 21st, 2011

requirements

#Jinja2 extension #remove whitespace #HTML tags #Jinja2 #HTML #tags #whitespace

Add your review!

SUBMIT