<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
I had a requirement to conditionally control the inclusion of
decade-next and decade-prev tags in a more-list. So, I blithely
wrapped them in an if block, then was surprised when the negative
condition wasn't working. Turns out that the contents of more-list
aren't interpolated before being processed, so the regular
expression in tag_more_list was matching my tags desipite their
being included in an if block. <br>
<br>
I hacked a few extra lines into Vend::Interpolate (below), but I'm
wondering if there's something I've missed that could do this
without the hack?<br>
<br>
<pre><tt> if($r =~ s:\[interpolate\]::i) {</tt></pre>
<pre><tt> $r = Vend::Interpolate::interpolate_html($r);</tt></pre>
<pre><tt> }</tt></pre>
-- <br>
<div class="moz-signature">
<title>Ray Wadkins</title>
<style>
div#signature p {
font-family: Helvetica;
font-size: 10pt;
font-weight: normal;
padding: 0;
margin: 0;
color: #717171;
}
div#signature p.Name {
font-weight: bold;
}
div#signature p.Name span {
font-weight: normal;
}
div#signature p.Company {
font-weight: bold;
text-transform: uppercase;
font-size: 11pt;
}
div#signature p.Slogan {
text-transform: uppercase;
font-size: 8pt;
}
div#signature p.Slogan span {
color: #FF0000;
}
div#signature a {
color: #717171;
text-decoration: none;
}
div#signature .greenmessage {
color: 1C7C00;
}
div#signature .greenmessage span {
font-family: Webdings;
}
</style>
<div id="signature">
<p class="name"><b>Ray Wadkins</b> <span>| Senior Web
Developer, Customer Facing Technology</span></p>
<p> </p>
<p class="company">Michael C. Fina</p>
<p class="slogan">ONE SOURCE | <span>TOTAL RECOGNITION</span></p>
<p class="url"><a class="moz-txt-link-abbreviated" href="http://www.mcfrecognition.com">www.mcfrecognition.com</a></p>
<p> </p>
<p><b>T</b>: 718-609-8519</p>
<p><b>E</b>: <a class="moz-txt-link-abbreviated" href="mailto:rwadkins@mcfina.com">rwadkins@mcfina.com</a></p>
<p> </p>
<p>The information contained in this email is strictly
confidential and subject to the Confidentiality Notice at
<a class="moz-txt-link-abbreviated" href="http://www.mcfina.com/emailpolicy">www.mcfina.com/emailpolicy</a></p>
<p> </p>
<p class="greenmessage"><span>P</span> Please consider the
environment before choosing to print this e-mail.</p>
</div>
</div>
</body>
</html>