我最近将我的博客从Joomla切换到WordPress,当我发布代码片段时遇到了问题。
编辑器在保存我的帖子时似乎会删除一些字符。
我正在使用从这个链接获取的插件:http://alexgorbatchev.com/SyntaxHighlighter/
示例:
<pre class="brush: javascript">;
var window.onload = function() {
alert("Loading is complete");
};
</pre>
格式化为:
<pre>;
var window.onload = function() {
alert("Loading is complete");
};
</pre>
我该如何解决这个问题?