mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-22 20:59:55 +09:00
피드에서, 문서의 제목에 속성을 넣을 경우, HTML태그가 삽입되는 오류 수정(속성 않넣는 getTitleText 로 바꿈) // 사용자의 홈페이지,블로그 주소가 http://로 시작하지 않을 수 있으므로, [a-z]+ 로 대체
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5925 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f0208bb187
commit
781305f6e4
7 changed files with 12 additions and 12 deletions
|
|
@ -17,7 +17,7 @@
|
|||
</channel>
|
||||
<!--@foreach($document_list as $oDocument)-->
|
||||
<item rdf:about="{$oDocument->getPermanentUrl()}">
|
||||
<title>{str_replace('\'', ''',$oDocument->getTitle())}</title>
|
||||
<title>{str_replace('\'', ''',htmlspecialchars($oDocument->getTitleText()))}</title>
|
||||
<link>{$oDocument->getPermanentUrl()}</link>
|
||||
<description>{str_replace('\'', ''', htmlspecialchars($oDocument->getContentText(200)))}</description>
|
||||
<dc:date>{$oDocument->getRegdate('Y-m-d\TH:i:sP')}</dc:date>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue