首页 > 解决方案 > 花括号内的文字(以及其中的垂直线)代表什么?

问题描述

见下文:

<p
style="margin: 0px; text-align: left; color: #666666; line-height: 25px; 
font-family: Tahoma, Verdana, Geneva, sans-serif; font-size: 14px; font-weight: bold;">
&bull; {|FeatureFour|}</p>

所以上面是一个标准的段落标签,但带有额外的文本(看起来像是某种变量);

该代码来自我遇到的一个随机标记文件,我很想知道它代表什么。

标签: htmltemplate-engine

解决方案


&bull让您使用项目符号,{|FeatureFour|}<p>标签内的内容,所以{|FeatureFour|}只是段落内容

<p
style="margin: 0px; text-align: left; color: #666666; line-height: 25px; 
font-family: Tahoma, Verdana, Geneva, sans-serif; font-size: 14px; font-weight: bold;">
&bull; {|FeatureFour|}</p>

<p
style="margin: 0px; text-align: left; color: #666666; line-height: 25px; 
font-family: Tahoma, Verdana, Geneva, sans-serif; font-size: 14px; font-weight: bold;">
&bull; {|FeatureFour|}</p>

<p
style="margin: 0px; text-align: left; color: #666666; line-height: 25px; 
font-family: Tahoma, Verdana, Geneva, sans-serif; font-size: 14px; font-weight: bold;">
&bull; Hello world!</p>

. 您可以在文本编辑器中更改这些内容。


推荐阅读