简体   繁体   English

为什么Joomla会改变文章页面的空白呈现

[英]Why does Joomla alter article page rendering of white space

I have recently migrated my website using Akeeba Kickstart, additionally I have installed a new responsive template which I created with Artisteer 4 我最近使用Akeeba Kickstart迁移了我的网站,此外,我还安装了使用Artisteer 4创建的新的响应模板。

The trouble is empty paragraphs 麻烦的是空段

<p> </p> <p>&nbsp;</p>

are shown on the pages as 在页面上显示为

How can I fix this and why does this happen only in the site restored using Akeeba Kickstart; 我如何解决此问题,以及为什么仅在使用Akeeba Kickstart恢复的站点中会发生这种情况? a freshly installed site does not suffer the same whitespace rendering. 新安装的站点不会遭受相同的空白渲染。

The most common cause of this that I've encountered is when people have restored a site from a MySQL database that has utf8_general_ci as it default collation to a MySQL server that has it's default set to latin1_swedish_ci . 我遇到的最常见原因是,人们从具有utf8_general_ci作为默认排序规则的MySQL数据库还原到默认设置为latin1_swedish_ci的MySQL服务器的站点。

In fact a quick search of the Akeeba website found this article on the subject of database collation and UTF-8. 实际上,对Akeeba网站的快速搜索发现了这篇有关数据库排序规则和UTF-8的文章。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM