Module: Jekyll::ObscureEncodeFilter

Defined in:
jekyll/_plugins/obscure-encode.rb

Instance Method Summary collapse

Instance Method Details

#obscure_encode(input) ⇒ Object



11
12
13
14
15
# File 'jekyll/_plugins/obscure-encode.rb', line 11

def obscure_encode(input)
	unless input.nil?
		input.each_codepoint.map{|c| "&#%d;" % c}.reduce(:+)
	end
end