obsolete.ChilliProject/lib
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
..
SVG Set source encoding to UTF-8 2011-10-29 14:48:03 +02:00
chili_project [#604] Evaluate Liquid before Textile-to-HTML transformation. 2011-11-20 02:49:19 +01:00
generators Set source encoding to UTF-8 2011-10-29 14:48:03 +02:00
redmine [#604] Disable classic ChiliProject wiki macros 2011-11-20 02:49:18 +01:00
tasks Set source encoding to UTF-8 2011-10-29 14:48:03 +02:00
ar_condition.rb Set source encoding to UTF-8 2011-10-29 14:48:03 +02:00
chili_project.rb Set source encoding to UTF-8 2011-10-29 14:48:03 +02:00
diff.rb Set source encoding to UTF-8 2011-10-29 14:48:03 +02:00
redcloth3.rb [#647] Fix XSS in textile image syntax. 2011-10-31 17:22:34 +01:00
redmine.rb Set source encoding to UTF-8 2011-10-29 14:48:03 +02:00
redmine_plugin_locator.rb Set source encoding to UTF-8 2011-10-29 14:48:03 +02:00
tabular_form_builder.rb Set source encoding to UTF-8 2011-10-29 14:48:03 +02:00