Commits

Michael Granger committed d0cbf0a

Make the output of example sections a bit more generically-classed

Comments (0)

Files changed (1)

lib/strelka/cms/pagefilter/example.rb

 	### Highlights the given +content+ in language +lang+.
 	def highlight( content, lang )
 		source = ERB::Util.html_escape( content )
-		return %Q{\n\n<pre class="brush: #{lang}">#{source}</pre>\n\n}
+		return %Q{\n\n<pre><code class="#{lang}">#{source}</code></pre>\n\n}
 	end
 
 end # class Strelka::CMS::PageFilter::Example