<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[【0.129】注释模板中，回车换行后加，select=，报错]]></title><description><![CDATA[<p dir="auto"><strong>1、【0.129】注释模板中，回车换行后，select=，报错</strong><br />
1）$[selected=success]，加在回车前的第一行前，没问题；<br />
2）$[selected=success]，加在回车后的第二行前，报错，<br />
但只有颜色，$[success]，没问题</p>
<p dir="auto"><img src="/assets/uploads/files/1793686635079-2125541a-1ca8-4ce7-943e-4d02e3439be1-image.png" alt="image.png" class="img-markdown  img-fluid" width="826" height="570" /></p>
<p dir="auto"><strong>2、再补充一个注释模板问题，加上颜色后，如果没内容，还是显示“[ ]”：</strong></p>
<p dir="auto">没加颜色的正常消失：</p>
<pre><code>{${chaizi_code|pinyin}}{ [${dict:zh_en}]}
{[${code_hint|chaizi}]}
</code></pre>
<p dir="auto"><img src="/assets/uploads/files/1793694752795-7a959da3-dd64-464e-b517-ba7bc06cf3e4-image.png" alt="image.png" class="img-markdown  img-fluid" width="285" height="221" /></p>
<p dir="auto">加了颜色，没有编码也不消失</p>
<pre><code>{${chaizi_code|pinyin}}$[warning]{ [${dict:zh_en}]}
{[${code_hint|chaizi}]}
</code></pre>
<p dir="auto"><img src="/assets/uploads/files/1793694805707-81912d65-25fb-4d8e-99d6-fc0aa85db14e-image.png" alt="image.png" class="img-markdown  img-fluid" width="289" height="224" /></p>
]]></description><link>https://forum.windinput.com/topic/394/0.129-注释模板中-回车换行后加-select-报错</link><generator>RSS for Node</generator><lastBuildDate>Sun, 22 Nov 2026 12:39:14 GMT</lastBuildDate><atom:link href="https://forum.windinput.com/topic/394.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 03 Nov 2026 06:22:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 【0.129】注释模板中，回车换行后加，select=，报错 on Thu, 05 Nov 2026 02:18:58 GMT]]></title><description><![CDATA[<p dir="auto">问题解决了，最外层还要再加一层大括号"{ }"，这个帖子可以关闭</p>
<p dir="auto">具体例子：<br />
{${chaizi_code}{ [${dict:zh_en}]}}<br />
{$[text_dim,selected=success]{ [ ${code_hint| chaizi}]}}</p>
]]></description><link>https://forum.windinput.com/post/1636</link><guid isPermaLink="true">https://forum.windinput.com/post/1636</guid><dc:creator><![CDATA[juexinxing]]></dc:creator><pubDate>Thu, 05 Nov 2026 02:18:58 GMT</pubDate></item></channel></rss>