# 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