[英]How to properly add a PHP tag inside anchor link on PUG
<a href="http://<?php echo $link; ?>/thelink.php">thelink</a>
PUG 编译为:
<a href="http://<?php echo $link; ?>/thelink.php">thelink</a>
我的问题是“<”和“>”。
我怎样才能正确编译它?:
<a href="http://<?php echo $link; ?>/thelink.php">thelink</a>
用 ”!” 在“=”之前:
a(href!="http://<?php echo $link; ?>/thelink.php") thelink
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.