fix error

This commit is contained in:
wlx 2013-04-22 17:16:54 +00:00
parent 936f53eea9
commit ae06dbe36e
2 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ if ($md->title_en) echo '<br />'.$this->escape($md->title_en);?>
</ul>
<?php elseif(!empty($md->suppinfo)) : ?>
<?php echo '<p>'.str_replace(array("\r\n", "\n", "\r"),'</p><p>',$this->escape($md->suppinfo)).'</p>';?>
<?php endif; endif; ?>
<?php endif; ?>
<hr />
<?php endif; ?>
<?php if ($this->resources) : ?>

View File

@ -101,7 +101,7 @@ if ($md->title_en) echo '<br />'.$this->escape($md->title_en);?>
</ul>
<?php elseif(!empty($md->suppinfo)) : ?>
<?php echo '<p>'.str_replace(array("\r\n", "\n", "\r"),'</p><p>',$this->escape($md->suppinfo)).'</p>';?>
<?php endif; endif; ?>
<?php endif; ?>
<hr />
<?php endif; ?>
<?php if ($this->resources) : ?>