[英]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.