Skip to content

Commit ca50871

Browse files
nobuaycabta
authored andcommitted
[DOC] escape descriptions [ci skip]
Escape descriptions not to get parsed as directives. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 6a1e4a0 commit ca50871

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/rdoc/parser/c.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,15 @@
6969
# [Document-variable: +name+]
7070
# Documentation for the named +rb_define_variable+
7171
#
72-
# [Document-method: +method_name+]
72+
# [Document-method\: +method_name+]
7373
# Documentation for the named method. Use this when the method name is
7474
# unambiguous.
7575
#
76-
# [Document-method: <tt>ClassName::method_name</tt>]
76+
# [Document-method\: <tt>ClassName::method_name</tt>]
7777
# Documentation for a singleton method in the given class. Use this when
7878
# the method name alone is ambiguous.
7979
#
80-
# [Document-method: <tt>ClassName#method_name</tt>]
80+
# [Document-method\: <tt>ClassName#method_name</tt>]
8181
# Documentation for a instance method in the given class. Use this when the
8282
# method name alone is ambiguous.
8383
#

0 commit comments

Comments
 (0)