Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

May 20, 2013

  1. Daniel Mendler

    add test

    authored May 20, 2013
  2. Daniel Mendler

    add codemerger test

    authored May 20, 2013

Apr 03, 2013

  1. Daniel Mendler

    minor improvement to html_safe test

    authored April 03, 2013
  2. Daniel Mendler

    remove obsolete code

    authored April 03, 2013
  3. Daniel Mendler

    improve with_html_safe test helper

    authored April 03, 2013

Mar 10, 2013

  1. djsell

    fixing html_safe + pretty + dynamic

    authored March 10, 2013

Feb 03, 2013

  1. Daniel Mendler

    add js_wrapper :guess

    authored February 03, 2013
  2. Patrik Rak

    Added html js abstraction for wrapping Javascript in HTML or CDATA co…

    …mments.
    authored January 28, 2013 minad committed February 03, 2013

Jan 21, 2013

  1. Daniel Mendler

    improve html pretty

    authored January 21, 2013

Jan 18, 2013

  1. Daniel Mendler

    fix tests

    authored January 18, 2013

Sep 26, 2012

  1. Daniel Mendler

    Add HTML::AttributeRemover back, :remove_empty_attrs must be an Array…

    … of Strings now of the attributes to be removed if empty
    authored September 26, 2012
  2. Daniel Mendler

    HTML::AttributeMerger fixed, it didn't remove first empty attribute v…

    …alues
    authored September 26, 2012
  3. Daniel Mendler

    simplify [:case, ...] expression

    authored September 26, 2012

Sep 08, 2012

  1. Daniel Mendler

    Add option validation

    authored September 08, 2012
  2. Daniel Mendler

    engine option :chain removed

    authored September 08, 2012

Sep 07, 2012

  1. Daniel Mendler

    remove attributeremover

    authored September 07, 2012

Sep 06, 2012

  1. Daniel Mendler

    HTML::AttributeRemover and Sorter: Check if filter is disabled in #call

    authored September 06, 2012

Sep 04, 2012

  1. Daniel Mendler

    EngineDSL: use constructors, this simplifies the engine class

    authored September 04, 2012

Sep 02, 2012

  1. Daniel Mendler

    CompiledDispatcher: fix compiled code

    authored September 02, 2012

Aug 24, 2012

  1. Daniel Mendler

    generators: optimize generated code a bit if only one concatenation i…

    …s done
    
    static_merger, dynamic_inliner: perform simple flattening
    authored August 24, 2012

Feb 16, 2012

  1. Daniel Mendler

    improve test cases

    authored February 16, 2012

Jan 27, 2012

  1. Daniel Mendler

    split AttributeMerger in AttributeRemover and AttributeMerger

    Backward incompatible change!
    authored January 27, 2012
  2. John Firebaugh

    Separate attribute sorting and merging responsibilities

    Just as one might want to merge attributes but not sort them (see
    b45c61), one might want to sort attributes but not merge them.
    They are separate concerns, and therefore should be separate filters.
    This change permits the use of AttributeSorter independently from
    AttributeMerger.
    
    Backward compatibility requires preserving the existing sorting
    behavior of AttributeMerger, but in a future release it should be
    fully separated, and users should explicitly use AttributeSorter
    in the filter chain if they desire.
    authored January 26, 2012 minad committed January 27, 2012

Dec 20, 2011

  1. Daniel Mendler

    Fix #57

    Don't use gsub! on incoming strings
    authored December 20, 2011

Dec 17, 2011

  1. Hannes Georg

    Dispatcher allows to use arbitrary levels.

    authored December 17, 2011 minad committed December 17, 2011

Dec 14, 2011

  1. Pyry Jahkola

    Add :sort_attrs (= true) to HTML::AttributeMerger

    HTML attributes are sorted by key by default, but turning off the
    option :sort_attrs changes it to preserve the insertion order of
    attributes instead. (In Ruby 1.9.x, this is done using the standard
    Hash class.)
    
    Tests passed on Ruby 1.8.7, 1.9.2, 1.9.3.
    authored December 14, 2011 minad committed December 14, 2011
  2. Daniel Mendler

    EngineDSL#use accepts arity 0 and 1 blocks

    authored December 14, 2011

Aug 26, 2011

  1. Daniel Mendler

    use fully-qualified name

    authored August 27, 2011

Aug 25, 2011

  1. Daniel Mendler

    relax temple grammar

    authored August 25, 2011
  2. Daniel Mendler

    add fallback for [:html, :attrs, ...] to HTML::Fast if HTML::Attribut…

    …eMerger is not used
    authored August 25, 2011
  3. Daniel Mendler

    html attribute merging moved to separate filter

    * [:html, :attrs, ...] are merged by the filter
    * HTML::Fast is a lot simpler now
    authored August 25, 2011

Aug 24, 2011

  1. Daniel Mendler

    Add support for wildcards to filter chain

    This allows filter instatiation depending on options. Example from Slim:
    
        wildcard(:Optimizer) { (options[:streaming] ? Temple::Filters::StaticMerger :
                                Temple::Filters::DynamicInliner).new }
        wildcard(:Generator) { options[:generator].new(options) }
    authored August 24, 2011

Aug 08, 2011

  1. Daniel Mendler

    use existing output_buffer only if streaming is active

    authored August 09, 2011
  2. Daniel Mendler

    template for upcoming rails 3.1 supports streaming

    authored August 08, 2011

Jun 18, 2011

  1. Daniel Mendler

    gsub returns unsafe string in rails >= 3.0.8

    authored June 18, 2011
Something went wrong with that request. Please try again.