aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2012-09-19 19:11:59 +0200
committerChristian Weiske <cweiske@cweiske.de>2012-09-19 19:11:59 +0200
commit13889267c83c2f7a747120a91352bae4d605aa3e (patch)
tree5cc723e274b5f28a071c7db0c4c58d4fdd77a742 /src
parent4316861c45f6938303695676df9de5afd7fc3b0b (diff)
downloadphorkie-13889267c83c2f7a747120a91352bae4d605aa3e.tar.gz
phorkie-13889267c83c2f7a747120a91352bae4d605aa3e.zip
use replace html entity with numeric xml entity
Diffstat (limited to 'src')
-rw-r--r--src/phorkie/Renderer/Geshi.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/phorkie/Renderer/Geshi.php b/src/phorkie/Renderer/Geshi.php
index 2010ead..21d36c2 100644
--- a/src/phorkie/Renderer/Geshi.php
+++ b/src/phorkie/Renderer/Geshi.php
@@ -28,7 +28,7 @@ class Renderer_Geshi
}
return '<div class="code">'
- . $geshi->parse_code()
+ . str_replace('&nbsp;', '&#160;', $geshi->parse_code())
. '</div>';
}