이미지이름 title/alt에 태그를 제거하도록 수정

git-svn-id: http://xe-core.googlecode.com/svn/trunk@2152 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-08-03 05:59:59 +00:00
parent 50bbdf4bc8
commit 23803d3eb6

View file

@ -1167,7 +1167,7 @@
if($image_name->width) {
if($image_mark->height && $image_mark->height > $image_name->height) $top_margin = ($image_mark->height - $image_name->height)/2;
else $top_margin = 0;
$text = sprintf('<img src="%s" border="0" alt="id: %s" title="id: %s" width="%s" height="%s" style="margin-top:%dpx;"/>', Context::getRequestUri().$image_name->file, htmlspecialchars($matches[5]), htmlspecialchars($matches[5]), $image_name->width, $image_name->height, $top_margin);
$text = sprintf('<img src="%s" border="0" alt="id: %s" title="id: %s" width="%s" height="%s" style="margin-top:%dpx;"/>', Context::getRequestUri().$image_name->file, htmlspecialchars(strip_tags($matches[5])), htmlspecialchars(strip_tags($matches[5])), $image_name->width, $image_name->height, $top_margin);
}
if($image_mark->width) {