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.
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: