Flag to avoid final expansion, so that page text with %% is not 
interpreted as BML.

        Patch by exor674. 

diffs (13 lines):

diff -r 083aff17c625 -r 3cb087506997 lib/Apache/BML.pm
--- a/lib/Apache/BML.pm Tue Feb 15 12:00:29 2011 +0800
+++ b/lib/Apache/BML.pm Mon Feb 21 15:14:03 2011 +0800
@@ -946,6 +946,9 @@ sub bml_block
 
         pop @{$req->{'BlockStack'}};
     }
+
+    # t == no final expand, required in tt-runner
+    return $expanded if (index($blockflags, 't') != -1);
 
     $expanded = parsein($expanded, \%element) if $preparsed;
     return $expanded;
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to