Justin Mason writes:
 > -----BEGIN PGP SIGNED MESSAGE-----
 > Hash: SHA1
 > 
 > 
 > Brian Wisti writes:
 > >Hi all,
 > >
 > >Boy, I hope that subject line doesn't mess up the archive formatter :-)
 > >
 > >So the problem. I'm using WebMake to generate a PHP contact page. For some
 > >reason, the "?>" which ends a block of PHP code is getting turned into ">" in
 > >the final output file. Why is that? More importantly, how do I make it stop?
 > 
 > Brian --
 > 
 > don't think I've seen that.  could you post a wmk file that displays this?

Sure, no problem. Here's a minimum test case:

Kind Regards,
Brian Wisti
http://coolnamehere.com/

-----

<webmake>

<content name="page_template">
<html>
<head> <title>$[this.title]</title> </head>
<body>
${page_text}
</body>
</html>
</content>

<content name="out_helper">
<{set page_text="${${WebMake.OutName}.txt}" }>
${page_template}
</content>

<content name="phpbug.txt">
<wmmeta name="title">Triggering the ?&gt; Bug</wmmeta>
<?= "Hello, world!" ?>
</content>
<out name="phpbug" file="phpbug.php"> ${out_helper} </out>


_______________________________________________
Webmake-talk mailing list
[EMAIL PROTECTED]
http://webmake.taint.org/mailman/listinfo/webmake-talk

Reply via email to