问题描述
我们有一个使用wordpress博客的客户,当他在我们的视频嵌入代码中粘贴代码时,它将&'s更改为&
,因此要解决此问题,他必须重新编写&
作为&
We have a client that uses a wordpress blog, when he pastes in our video embed code it changes &'s into &
so for a workaround he has to re-write &
as &
此中断代码吗?在wordpress中做类似< code></code>
的事情可以解决此问题吗?
Does this break code? Would doing something like <code></code>
in wordpress fix the issue?
示例:
<param name="adServerURL" value="http://plg.website.com/dynamic_preroll_playlist.vast2xml?domain=111aaabbb&pubchannel=KidS&" />
推荐答案
从技术上讲,它们都是一样的东西.由于是wordpress,因此我建议您使用&
,因为这是&符号和&或&
.
Technically yes they are all the same thing. Since it's wordpress I would recommend using the &
as that's the encoded version of the ampersand & or &
.
WordPress参考:
WordPress references:
http://wordpress.org/支持/主题/如何摆脱放大器和038
http://wordpress.org/support/topic/unwanted-characters-038
这篇关于是否& amp;或&#038;或&在代码中意味着相同的东西?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!