On line 20,
%REPEAT%<div class="natSearchHit %CALC{"$SETM(incr, +1)$IF($ODD($GET(incr)),natSearchHitOdd,natSearchHitEven)"}%">

The CALC is not evaluated. HTML source shows this,

<!-- searchform --><!-- //searchform --> 
<div class="natSearchResult">
<div class="natSearchHit %CALC{"$SETM(incr, +1)$IF($ODD($GET(incr)),natSearchHitOdd,natSearchHitEven)"}%">

<!-- searchhit -->
  <a class="natSearchTarget" href="/view/Main/WebChanges">WebChanges</a>
  <span class="natSearchTargetWeb">in Main </span>
  <div class="natSearchSummary"> ...  </div>
  <div class="natSearchRevision">
    changed on <a href='/rdiff/Main/WebChanges?type=last'>09 Jan 2009 - 12:00</a> by <span class='natSearchAuthor'> <a href="/view/Main/ProjectContributor" title="guest - 24 Apr 2009 - 13:10 - r1.1: Project Contributor Not an actual user of this site, but a person devoting some of his/her time to contribute to the Foswiki Open Source project. ProjectContributor ...">ProjectContributor</a> </span>

  </div>
<!-- //searchit -->
</div><div class="natSearchHit %CALC{"$SETM(incr, +1)$IF($ODD($GET(incr)),natSearchHitOdd,natSearchHitEven)"}%">
<!-- searchhit -->
  <a class="natSearchTarget" href="/view/Main/StyleTests">StyleTests</a>
  <span class="natSearchTargetWeb">in Main </span>
  <div class="natSearchSummary">  Interwiki test! With this Dictionary:word or word This is 1st Header Testing mailto url wrapper email me 2nd Header 3rd Header italics bold jump to break me ...  </div>
  <div class="natSearchRevision">

    changed on <a href='/rdiff/Main/StyleTests?type=last'>08 Apr 2009 - 13:39</a> by <span class='natSearchAuthor'> <a href="/view/Main/ProjectContributor" title="guest - 24 Apr 2009 - 13:10 - r1.1: Project Contributor Not an actual user of this site, but a person devoting some of his/her time to contribute to the Foswiki Open Source project. ProjectContributor ...">ProjectContributor</a> </span>
  </div>
<!-- //searchit -->
</div></div>

REPEAT seems to be the culprit 'cuz removing it works fine - in a way.

-- KwangErnLiew


Works fine here.

-- MichaelDaum - 03 Jul 2009

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads