lsegal/yard — Issue #403: Indented (code/pre) plus sign renders as <tt>
Author: turboladen
Created: 2011-10-24 23:57:48+00:00
State: open

I posted this (which describes the problem a bit more) before realizing the problem was local to Yard:
http://stackoverflow.com/questions/7882985/how-do-i-render-a-verbatim-code-pre-plus-sign-with-rdoc-markup

When I use RDoc markup in my README.rdoc:

Some text

code block
+-----+

Then run the Yard Rake task:

YARD::Rake::YardocTask.new do |t|
t.files = ['{features,lib}/**/*.{feature,rb}', "-", "History.rdoc"]
t.options = ['--title', "tim Documentation (#{Tim::VERSION})"]
t.options += %w(--readme README.rdoc)
t.options += %w(--private --protected --verbose)
end

...I get HTML:

Some text

-----

I'd expect this to render HTML:

Some text

+-----+

If I do `$ rdoc README.rdoc`, I see that I get the HTML that I'd expect.

Using yard 0.7.3, rdoc 3.10.