summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2024-12-13 11:59:58 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2024-12-13 11:59:58 +0900
commit1fd2437b630ecc999016288b4ee049f1c91cfd02 (patch)
treeb5aa394b3445974c9386b2092b80b11f89c496af
parent71bebcf6586fd7ab58bd8c65df98852ccfba8282 (diff)
[DOC] Move the comma outside the `<tt>` tag
-rw-r--r--doc/syntax/literals.rdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/syntax/literals.rdoc b/doc/syntax/literals.rdoc
index ce398dd75d..c92783565b 100644
--- a/doc/syntax/literals.rdoc
+++ b/doc/syntax/literals.rdoc
@@ -147,7 +147,7 @@ here document literals (non-quoted, double-quoted, and with backticks),
double-quoted symbols,
double-quoted symbol keys in Hash literals,
Regexp literals, and
-several percent literals (<tt>%</tt>, <tt>%Q,</tt> <tt>%W</tt>, <tt>%I</tt>, <tt>%r</tt>, <tt>%x</tt>).
+several percent literals (<tt>%</tt>, <tt>%Q</tt>, <tt>%W</tt>, <tt>%I</tt>, <tt>%r</tt>, <tt>%x</tt>).
They allow escape sequences such as <tt>\n</tt> for
newline, <tt>\t</tt> for tab, etc. The full list of supported escape