all repos — h3rald @ 33455297d89b82345dd2e74a6e57567bbf73b20f

The sources of https://h3rald.com

lib/bbcode_filter.rb

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
require 'rubygems'
require 'bb-ruby'

class BbcodeFilter < Nanoc3::Filter
	identifier :bbcode

	def run(content, args)
		content.bbcode_to_html
	end

end