H
Hans Mueller
trying to convert simple markup to html, works fine with
the commands below but hyperlinks (e.g. http:// or mailto
in the markup aren't transferred to html (e.g. <a href="">).
Anything missing?
require 'rdoc/markup/simple_markup'
require 'rdoc/markup/simple_markup/to_html'
markup = SM::SimpleMarkup.new
formatter = SM::ToHtml.new
puts markup.convert(ARGF.read, formatter)
the commands below but hyperlinks (e.g. http:// or mailto
in the markup aren't transferred to html (e.g. <a href="">).
Anything missing?
require 'rdoc/markup/simple_markup'
require 'rdoc/markup/simple_markup/to_html'
markup = SM::SimpleMarkup.new
formatter = SM::ToHtml.new
puts markup.convert(ARGF.read, formatter)