Sha256: 394ede0dedbbacc19e71fcbcef791af8ffb4b5615c515196cda956dd5b90493d
Contents?: true
Size: 252 Bytes
Versions: 9
Compression:
Stored size: 252 Bytes
Contents
module Filters module PostFilter def format_octicons!(html) html.gsub!(/#{@front_wrap}\s*octicon-(\S+)\s*([^\\#{@wrap_symbol}]+)\s*#{@end_wrap}/, %|<span class="octicon octicon-\\1" aria-label="\\2" title="\\2"></span>|) end end end
Version data entries
9 entries across 9 versions & 1 rubygems