Skip to content
Permalink
Browse files

Fix to work with Vim 7.4.

  • Loading branch information...
defuse committed Jan 15, 2014
1 parent 0b47e75 commit 93a531f0a16e5f37937d9e3697f4e39eccefd3cc
Showing with 1 addition and 1 deletion.
  1. +1 −1 VimHighlight.php
@@ -244,7 +244,7 @@ private function decodeInfo($str) {
private function extractBody($html) {
if($this->use_css) {
$bodyStart = strpos($html, "<pre>");
$bodyStart = strpos($html, "<pre");
$bodyEnd = strrpos($html, "</pre>") + strlen("</pre>");
return substr($html, $bodyStart, $bodyEnd - $bodyStart + 1);
} else {

0 comments on commit 93a531f

Please sign in to comment.
You can’t perform that action at this time.