class Syntax::Convertors::HTML

def html_escape( string )

Replaces some characters with their corresponding HTML entities.
def html_escape( string )
  string.gsub( /&/, "&" ).
         gsub( /</, "&lt;" ).
         gsub( />/, "&gt;" ).
         gsub( /"/, "&quot;" )
end