0
私はループ変数の値をHTMLコメント内に書き込もうとしていますが、私のコメントには生のテキストしかありません。テンプレート内コメント内の変数を補間する
:コメント行のための
div This is a simple div
- for itervalue in names
label
//This is a html comment for item #{itervalue} sent to client
input(type='radio', name='item_name', value=itervalue)
span item : #{itervalue}
br
結果:
<!--This is a html comment for item #{itervalue} sent to client-->
はヒスイ/パグコメントの中の文字列を補間することが可能ですか?
だから、簡単な:-)感謝を! – Seki