#18229740 - 제목에 주석표가 있을때 페이지가 보이지 않는 현상 수정, RSS모듈도 이에 맞추어 수정. #18221722 페이지와 같은 현상 관련

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6748 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
misol 2009-08-14 07:06:32 +00:00
parent 044378b0bf
commit e4347882e2
3 changed files with 3 additions and 3 deletions

View file

@ -443,7 +443,7 @@
**/
function getBrowserTitle() {
$oContext = &Context::getInstance();
return $oContext->_getBrowserTitle();
return htmlspecialchars($oContext->_getBrowserTitle());
}
/**

View file

@ -1,7 +1,7 @@
{'<?xml version="1.0" encoding="UTF-8" ?>'}
<feed xmlns="http://www.w3.org/2005/Atom">
<title type="text">{htmlspecialchars($info->title)}</title>
<title type="text">{$info->title}</title>
<!--@if($info->description)-->
<subtitle type="html">{str_replace('\'', '&apos;', htmlspecialchars($info->description))}</subtitle>
<!--@end-->

View file

@ -2,7 +2,7 @@
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/">
<channel>
<title>{htmlspecialchars($info->title)}</title>
<title>{$info->title}</title>
<link>{$info->link}</link>
<description>{$info->description}</description>
<language>{$info->language}</language>