diff options
author | INOPIAE <inopiae@cacert.org> | 2013-07-14 13:15:00 +0200 |
---|---|---|
committer | INOPIAE <inopiae@cacert.org> | 2013-07-14 13:15:00 +0200 |
commit | 7c026b89506fecc0f057cdd78a3c48f30efd827a (patch) | |
tree | 59b628d51fc09d98a3c524a5e0063fba22cc3e49 /pages/index/0.php | |
parent | 0f787a6c3ce0c6581492422fd7c137ffe546ed83 (diff) | |
download | cacert-devel-7c026b89506fecc0f057cdd78a3c48f30efd827a.tar.gz cacert-devel-7c026b89506fecc0f057cdd78a3c48f30efd827a.tar.xz cacert-devel-7c026b89506fecc0f057cdd78a3c48f30efd827a.zip |
bug 1190: changed length parameter to adjust the text for <!CDATA[ ]]> for the description
Diffstat (limited to 'pages/index/0.php')
-rw-r--r-- | pages/index/0.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/index/0.php b/pages/index/0.php index e7356c7..7b9322f 100644 --- a/pages/index/0.php +++ b/pages/index/0.php @@ -78,7 +78,7 @@ if(substr($line, 0, 7) == "<title>") echo "<h3>".str_replace("&#", "&#", recode_string("UTF8..html", str_replace("&", "", trim(substr($line, 7, -8)))))."</h3>\n"; if(substr($line, 0, 13) == "<description>") - echo "<p>".str_replace("&#", "&#", recode_string("UTF8..html", str_replace("&", "", trim(substr($line, 13, -14)))))."</p>\n"; + echo "<p>".str_replace("&#", "&#", recode_string("UTF8..html", str_replace("&", "", trim(substr($line, 22, -17)))))."</p>\n"; if(substr($line, 0, 6) == "<link>") echo "<p>[ <a href='".trim(substr($line, 6, -7))."'>"._("Full Story")."</a> ]</p>\n"; } |