随机HTML编码出现,无法找到它来自哪里

时间:2015-05-04 18:21:58

标签: html encoding

在其他人创建的网站上工作,我只是重新格式化了这些文件。出于某种原因,这个奇怪的编码出现了,“”,我无法弄清楚为什么。我想我把它缩小到代码的一部分,但即使这样我也不能确定。此外,这只发生在某些页面上而其他页面上却没有......很奇怪!

这是一张图片: Weird ACS LL encoding

它总是出现在每个拥有它的页面的页面顶部。这是该文件的代码。

这是模板代码:

<div class="content">
    <div class="slider"><?php include 'modules/slider.php'; ?></div>
    <div class="main"><?php include 'includes/'.$content; ?></div>
</div>

这是文件处理程序代码:

<?php
$title = 'Academics';
$content = 'academics.php';
$meta = 'Academics';
include 'template/template.php';
?>

这是存储信息的文件。

<?php
$title = 'OLP Academics';
echo '
<div id ="content">
 <h2>Academics at Our Lady of Peace School</h2>
        <p>The academic program at OLP recognizes that all children learn  differently based on their age, learning style, and God-given ability. At OLP we assess a child\'s readiness and skill development and target  their instruction to their learning stage, providing continuity in  learning and continuous progress. Course content in the elementary  grades is presented repeatedly over the years with increasing depth and  mastery expected as the child matures in skill level. This gives  students the chance to be secure in basic skills. We offer accelerated  math and literature classes to qualified 6th-8th grades. Parents and  students should be aware that additional time may be needed to complete  homework in advanced classes.</p>
          <p>OLP curriculum requirements are determined by the Diocese of  Charleston\'s Department of Education. Specific skills and knowledge are  outlined for each grade level in the following subjects: Mathematics,  Language Arts, Social Studies, Science, and Religion. Students also  receive instruction in technology, art, music, physical education,  library skills, and Spanish. Instruction in these courses is 45 minutes  per week. Students in 7th and 8th grades receive an additional 45  minutes of Spanish weekly. These areas are often correlated with the  core curriculum and strengthen the child\'s total development. For more  detailed information, see the OLP Student Handbook.
               </div>
';

?>

我把它缩小到至少从模板代码开始的那一行:

<div class="main"><?php include 'includes/'.$content; ?></div>

有什么想法吗?

0 个答案:

没有答案