| Index: src/site/_plugins/prettify.rb
|
| diff --git a/src/site/_plugins/prettify.rb b/src/site/_plugins/prettify.rb
|
| index d0d36187a9e90f4fc992aced82d1520437402aa3..ed252056a7a0dd7541246c76a15e9d5641a877fe 100644
|
| --- a/src/site/_plugins/prettify.rb
|
| +++ b/src/site/_plugins/prettify.rb
|
| @@ -31,7 +31,14 @@ module Prettify
|
| unless @lang.nil?
|
| out += ' lang-' + @lang
|
| end
|
| - out += '">' + CGI::escapeHTML(super) + "</pre>"
|
| + out += '">'
|
| +
|
| + contents = super.strip
|
| + contents = CGI::escapeHTML(contents)
|
| + contents.gsub!('[[highlight]]', '<code class="nocode highlight">')
|
| + contents.gsub!('[[/highlight]]', '</code>')
|
| +
|
| + out += contents + "</pre>"
|
| end
|
|
|
| end
|
|
|