Hi folks!
Today i have pushed some improvements in engine_v2. (sorry for yesterday
lapsus).
- engine_v2 have a REAL noaki markup. Old engine for example only replace
special characters like (,],} with their correspondent entities.
(noaiki( <script> if ( foo ){...} )noaki) DOESN'T work in old engine,
but works in new.
- nl2br and nl2p are markup, and can be contain other markup:
(n2lbr( (sql("SELECT....) ... )sql )nl2br) is valid in new engine.
The idea of new render is to unify all markups in only one markup style,
and one or two styles for variables. Already is working in engine2 ((var))
for vars and table fields.
Now there are two types of markup: complex and simple. Complex have the
three block:parameters,
true,and else-block. The parameter block is evaluated first, and then true
o false-block. In simple markup, there is only one block that is passed to
to markup routine, which decide parse the text, evaluate it (like a list of
arguments) or do nothing.
A example: in (nl2br( ... foo )nl2br) the markup routine decides parse
first 'foo' and then apply the nl2br filter.
Roger
_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help : https://help.launchpad.net/ListHelp