[前][次][番号順一覧][スレッド一覧]

ruby-changes:73402

From: Nobuyoshi <ko1@a...>
Date: Sat, 3 Sep 2022 23:49:27 +0900 (JST)
Subject: [ruby-changes:73402] 0111dc5b79 (master): [DOC] Escape backqoute method not to be converted to smart quotes

https://git.ruby-lang.org/ruby.git/commit/?id=0111dc5b79

From 0111dc5b79a8cfe81f467cfcf589dd4042e0384c Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sat, 3 Sep 2022 23:47:46 +0900
Subject: [DOC] Escape backqoute method not to be converted to smart quotes

---
 doc/command_injection.rdoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/command_injection.rdoc b/doc/command_injection.rdoc
index 8f1303bcf7..af09be23f0 100644
--- a/doc/command_injection.rdoc
+++ b/doc/command_injection.rdoc
@@ -8,7 +8,7 @@ They should not be called with unknown or unsanitized commands. https://github.com/ruby/ruby/blob/trunk/doc/command_injection.rdoc#L8
 These methods include:
 
 - Kernel.system
-- {`command` (backtick method)}[rdoc-ref:Kernel#`]
+- {\`command` (backtick method)}[rdoc-ref:Kernel#`]
   (also called by the expression <tt>%x[command]</tt>).
 - IO.popen(command).
 - IO.read(command).
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]