Index: openacs-4/packages/acs-templating/tcl/parse-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/parse-procs.tcl,v diff -u -r1.65.2.13 -r1.65.2.14 --- openacs-4/packages/acs-templating/tcl/parse-procs.tcl 30 Jan 2022 14:38:58 -0000 1.65.2.13 +++ openacs-4/packages/acs-templating/tcl/parse-procs.tcl 7 Apr 2022 12:39:28 -0000 1.65.2.14 @@ -501,7 +501,10 @@ return $formatted_message } -ad_proc -public template::adp_compile { {-file ""} {-string ""} } { +ad_proc -public template::adp_compile { + {-file ""} + {-string ""} +} { Converts an ADP template into a chunk of Tcl code. Caching this code avoids the need to reparse the ADP template with each request. @@ -673,15 +676,6 @@ return {(^|[^\\])@([[:alnum:]_:]+);noi18n@} } -# NaviServer requires for disambiguation of flags and values at the -# end of the argument processing a terminating "--" (like for other -# commands). AOLserver does not allow the "--". -if {[ns_info name] eq "NaviServer"} { - ad_proc template::adp_parse_string { chunk } {Parse string as ADP} {ns_adp_parse -string -- $chunk} -} else { - ad_proc template::adp_parse_string { chunk } {Parse string as ADP} {ns_adp_parse -string $chunk} -} - ad_proc -private template::adp_compile_chunk { chunk } { Parses a single chunk of a template. A chunk is either the entire template or the portion of a template contained within a balanced