module Orgmode
Autogenerated by util/gen-special-replace.el
Autogenerated by util/gen-special-replace.el
Constants
- HtmlEntities
- TextileEntities
Public Class Methods
special_symbols_to_html(str)
click to toggle source
# File lib/org-ruby/html_symbol_replace.rb, line 351 def Orgmode.special_symbols_to_html str str.gsub! @org_entities_regexp do |match| if HtmlEntities[$1] if $2 == "{}" then "#{HtmlEntities[$1]}" else "#{HtmlEntities[$1]}#{$2}" end else $& end end end
special_symbols_to_textile(str)
click to toggle source
# File lib/org-ruby/textile_symbol_replace.rb, line 351 def Orgmode.special_symbols_to_textile str str.gsub! @org_entities_regexp do |match| if TextileEntities[$1] if $2 == "{}" then "#{TextileEntities[$1]}" else "#{TextileEntities[$1]}#{$2}" end else $& end end end