diff --git a/book.php b/book.php
index ae49e4c..9e34104 100644
--- a/book.php
+++ b/book.php
@@ -146,7 +146,7 @@ class Book extends Base {
}
if (preg_match ("/<\/(div|p|a)>/", $this->comment))
{
- return $addition . str_replace ("
", "
", $this->comment);
+ return $addition . preg_replace ("<(br|hr)>", "$1 /", $this->comment);
}
else
{