|
36 | 36 | # sequences, and to add special processing for text that matches a
|
37 | 37 | # regular expression. Here we make WikiWords significant to the parser,
|
38 | 38 | # and also make the sequences {word} and \<no>text...</no> signify
|
39 |
| -# strike-through text. When then subclass the HTML output class to deal |
| 39 | +# strike-through text. We then subclass the HTML output class to deal |
40 | 40 | # with these:
|
41 | 41 | #
|
42 | 42 | # require 'rdoc/markup'
|
|
61 | 61 | #
|
62 | 62 | # == Encoding
|
63 | 63 | #
|
64 |
| -# Where Encoding support is available RDoc will automatically convert all |
| 64 | +# Where Encoding support is available, RDoc will automatically convert all |
65 | 65 | # documents to the same output encoding. The output encoding can be set via
|
66 | 66 | # RDoc::Options#encoding and defaults to Encoding.default_external.
|
67 | 67 | #
|
|
127 | 127 | # === Simple Lists
|
128 | 128 | #
|
129 | 129 | # If a paragraph starts with a "*", "-", "<digit>." or "<letter>.",
|
130 |
| -# then it is taken to be the start of a list. The margin in increased to be |
| 130 | +# then it is taken to be the start of a list. The margin is increased to be |
131 | 131 | # the first non-space following the list start flag. Subsequent lines
|
132 | 132 | # should be indented to this new margin until the list ends. For example:
|
133 | 133 | #
|
|
444 | 444 | #
|
445 | 445 | # [+:nodoc:+ / <tt>:nodoc: all</tt>]
|
446 | 446 | # This directive prevents documentation for the element from
|
447 |
| -# being generated. For classes and modules, the methods, aliases, |
| 447 | +# being generated. For classes and modules, methods, aliases, |
448 | 448 | # constants, and attributes directly within the affected class or
|
449 | 449 | # module also will be omitted. By default, though, modules and
|
450 |
| -# classes within that class of module _will_ be documented. This is |
| 450 | +# classes within that class or module _will_ be documented. This is |
451 | 451 | # turned off by adding the +all+ modifier.
|
452 | 452 | #
|
453 | 453 | # module MyModule # :nodoc:
|
@@ -591,7 +591,7 @@ class RDoc::Markup
|
591 | 591 | attr_reader :attribute_manager
|
592 | 592 |
|
593 | 593 | ##
|
594 |
| - # Take a block of text and use various heuristics to determine it's |
| 594 | + # Take a block of text and use various heuristics to determine its |
595 | 595 | # structure (paragraphs, lists, and so on). Invoke an event handler as we
|
596 | 596 | # identify significant chunks.
|
597 | 597 |
|
|
0 commit comments