BBCoder.configure do tag :b, :as => :strong tag :sub, :singular => true do %(#{singular? ? meta : content}) end tag :sup, :singular => true do %(#{singular? ? meta : content}) end tag :ul tag :ol tag :li, :parents => [:ol, :ul] tag :size do %(#{content}) end tag :url do if meta.nil? || meta.empty? %(#{content}) else %(#{content}) end end end