obsolete.ChilliProject/app
Holger Just 82432f3f99 [#604] Evaluate Liquid before Textile-to-HTML transformation.
This changes how the liquid integration works. It now integrates the Textile
conversion step. This was necessary because if you first convert the snippets
inside of loops and conditionals from Textile to HTML, you loose some
important context information which is required to e.g. build proper lists in
textile.

We expect the standard case that Liquid tags return Textile markup instead
of HTML. Thus, we can convert the final textile markup to HTML as a very last
step.

To allow existing and new macros (or tags) to return HTML for advanced usage,
we save their respective output into the context and put a placeholder string
into the generated markup. After the transformation to HTML, we insert the
previously generated HTML into the string using search+replace in
lib/chili_project/liquid/template.rb. Tags have to be registered using
:html => true for this special treatment.
2011-11-20 02:49:19 +01:00
..
controllers [#676] Enforce UTF-8 encodings on the params hash 2011-10-30 11:25:56 +01:00
drops [#604] Add an IssueDrop with custom field support 2011-11-20 02:49:12 +01:00
helpers [#604] Evaluate Liquid before Textile-to-HTML transformation. 2011-11-20 02:49:19 +01:00
models [#604] Add an IssueDrop with custom field support 2011-11-20 02:49:12 +01:00
views [#263] Refactor: move top menu logic to ApplicationHelper 2011-11-06 19:49:23 -08:00