Parent

Methods

RuTils::Gilenson::MarukuExtra

Maruku с поддержкой Gilenson

Public Instance Methods

to_html(*anything) click to toggle source
# File lib/gilenson/maruku_extra.rb, line 3
def to_html(*anything)
  suspended = super
  
  # Return quotes to original state
  [187, 171, 8220, 8221].map do |e| 
    suspended.gsub! /&\##{e};/, '"'
  end
  
  # Return spaces to original state
  [160].map do |e| 
    suspended.gsub! /&\##{e};/, ' '
  end
  
  suspended.gilensize
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.