RDoc: preserve special chars in <tt> Was: Re: bug in rdoc?

On 10/16/06, Wybo D. [email protected] wrote:

=end
Why does this bother you?

Because it’s not clearly visible that one must type two dashes there.
The solution would be to not convert special chars in blocks

I agree!

Attached is a patch that implements this (special chars are preserve
inside tt tags). I don’t know much about RDoc internal, so please
check it. I added a simple unit test, as well. I couldn’t manage CVS
to includeit with others, so it’s attached separately.

That worked fine, thank you very much!

On Oct 16, 2006, at 3:17 PM, Jan S. wrote:

Attached is a patch that implements this (special chars are preserve
inside tt tags). I don’t know much about RDoc internal, so please
check it. I added a simple unit test, as well. I couldn’t manage CVS
to includeit with others, so it’s attached separately.
<rdoc-tt.patch>
<TestToHtml.rb>

Please post this to the bug tracker. Otherwise I’m sure to lose it:

http://rubyforge.org/tracker/?atid=2474&group_id=627&func=browse


Eric H. - [email protected] - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs