mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[DOC] Fix 'hexadecimal' spelling on encodings docs
Fix typo
This commit is contained in:
parent
33363030e1
commit
61b5d3cf89
1 changed files with 2 additions and 2 deletions
|
@ -437,7 +437,7 @@ These keyword-value pairs specify encoding options:
|
||||||
- <tt>:xml: nil</tt> (default): No handling for XML entities.
|
- <tt>:xml: nil</tt> (default): No handling for XML entities.
|
||||||
- <tt>:xml: :text</tt>: Treat source text as XML;
|
- <tt>:xml: :text</tt>: Treat source text as XML;
|
||||||
replace each undefined character
|
replace each undefined character
|
||||||
with its upper-case hexdecimal numeric character reference,
|
with its upper-case hexadecimal numeric character reference,
|
||||||
except that:
|
except that:
|
||||||
|
|
||||||
- <tt>&</tt> is replaced with <tt>&</tt>.
|
- <tt>&</tt> is replaced with <tt>&</tt>.
|
||||||
|
@ -446,7 +446,7 @@ These keyword-value pairs specify encoding options:
|
||||||
|
|
||||||
- <tt>:xml: :attr</tt>: Treat source text as XML attribute value;
|
- <tt>:xml: :attr</tt>: Treat source text as XML attribute value;
|
||||||
replace each undefined character
|
replace each undefined character
|
||||||
with its upper-case hexdecimal numeric character reference,
|
with its upper-case hexadecimal numeric character reference,
|
||||||
except that:
|
except that:
|
||||||
|
|
||||||
- The replacement string <tt>r</tt> is double-quoted (<tt>"r"</tt>).
|
- The replacement string <tt>r</tt> is double-quoted (<tt>"r"</tt>).
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue