New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
This question about Topic Markup Language and applications: Answered

Are SEARCH blocks evaluated within HTML comments?

MartinCleaver: Are SEARCH blocks expanded within HTML comments?

It looks like they aren't, which is a shame because I wanted to see how a SEARCH expands before the result is passed to DirectedGraphPlugin

   * Set QUERY=%SEARCH{params}%
<dot map=1> digraph A { 
%Q% } </dot>


I hoped this would show me the query result that it fed to dot.

Looking at the HTML it seems that Q is left unset.

This means to debug I have to copy the SEARCH block twice, once inside dot and again after it.

It will work inside a comment block.

If you want to read %Q%, then you need to Set it, not Set QUERY. You may also need spaces around the equal sign.

-- SeanMorgan - 08 Feb 2010

QuestionForm edit

Subject Topic Markup Language and applications
Version Foswiki 1.0.8
Status Answered
Topic revision: r4 - 10 Jan 2013, GeorgeClark - This page was cached on 23 Mar 2018 - 03:30.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License