413件ヒット
[1-100件を表示]
(0.013秒)
別のキーワード
ライブラリ
- ビルトイン (48)
- bigdecimal (24)
-
cgi
/ util (96) - open-uri (16)
- prettyprint (12)
-
rexml
/ document (24) - rss (12)
- socket (12)
- tsort (93)
- uri (76)
クラス
- BigDecimal (24)
- CGI (96)
- Dir (12)
- File (10)
- PrettyPrint (12)
- Proc (14)
-
REXML
:: Text (24) - Socket (12)
-
URI
:: MailTo (24)
モジュール
- Process (12)
-
RSS
:: Maker (12) - TSort (93)
- URI (68)
キーワード
- build (24)
- decode (7)
-
decode
_ www _ form (12) -
each
_ strongly _ connected _ component (23) -
each
_ strongly _ connected _ component _ from (23) - encode (7)
-
encode
_ www _ form (12) - escape (7)
- escapeElement (12)
- escapeHTML (12)
-
escape
_ element (12) -
escape
_ html (12) - exec (12)
- format (12)
- getifaddrs (12)
- make (12)
- mkdir (12)
- mkfifo (10)
- mode (24)
- new (26)
- open (16)
-
strongly
_ connected _ components (12) - tsort (12)
-
tsort
_ each (23) - unescape (7)
- unescapeElement (12)
- unescapeHTML (12)
-
unescape
_ element (12) -
unescape
_ html (12) - unnormalize (12)
検索結果
先頭5件
-
RSS
:: Maker . make(version , &block) (102.0) -
@todo versionには"1.0"または"0.9"または "0.91"または"2.0"を指定します."0.9" と"0.91"は同じであることに注意してください.
@todo
versionには"1.0"または"0.9"または
"0.91"または"2.0"を指定します."0.9"
と"0.91"は同じであることに注意してください.
blockを実行したあとのmakerオブジェクトから
RSSオブジェクトを生成して返します. -
CGI
. unescapeHTML(string) -> String (55.0) -
与えられた文字列中の実体参照のうち、& > < " と数値指定がされているもの (�ffff など) を元の文字列に置換します。
...与えられた文字列中の実体参照のうち、& > < "
と数値指定がされているもの (�ffff など) を元の文字列に置換します。
@param string 文字列を指定します。
require "cgi"
p CGI.unescapeHTML("3 > 1") #=> "3 > 1"... -
CGI
. unescape _ html(string) -> String (55.0) -
与えられた文字列中の実体参照のうち、& > < " と数値指定がされているもの (�ffff など) を元の文字列に置換します。
...与えられた文字列中の実体参照のうち、& > < "
と数値指定がされているもの (�ffff など) を元の文字列に置換します。
@param string 文字列を指定します。
require "cgi"
p CGI.unescapeHTML("3 > 1") #=> "3 > 1"... -
CGI
. unescapeElement(string , *elements) -> String (37.0) -
特定の要素だけをHTMLエスケープから戻す。
...:
require "cgi"
print CGI.unescapeElement('<BR><A HREF="url"></A>', "A", "IMG")
# => "<BR><A HREF="url"></A>"
print CGI.unescapeElement('<BR><A HREF="url"></A>', %w(A IMG))
# => "<BR><A HREF="url"></A>"... -
CGI
. unescape _ element(string , *elements) -> String (37.0) -
特定の要素だけをHTMLエスケープから戻す。
...:
require "cgi"
print CGI.unescapeElement('<BR><A HREF="url"></A>', "A", "IMG")
# => "<BR><A HREF="url"></A>"
print CGI.unescapeElement('<BR><A HREF="url"></A>', %w(A IMG))
# => "<BR><A HREF="url"></A>"... -
REXML
:: Text . new(arg , respect _ whitespace = false , parent = nil , raw = nil , entity _ filter = nil , illegal = REXML :: Text :: NEEDS _ A _ SECOND _ CHECK) (37.0) -
テキストノードオブジェクトを生成します。
...えられていない場合は、XMLの規格上
以下の実体参照/対応文字がデフォルトで使われます。
* & &
* < <
* > >
* " "
* ' '
illegal は内部用なので使わないでください。
@param arg テキストデータ(文字列)もしくは......しの場合][ruby]{
p REXML::Text.new("<&", false, nil, false).to_s # => "<&"
p REXML::Text.new("<&", false, nil, false).to_s # => "&lt;&amp;"
p REXML::Text.new("<&", false, nil, true).to_s # => "<&"
p REXML::Text.new("<&", false, nil, true).to_s # parse error
/......= REXML::Document.new(<<EOS)
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE root [
<!ENTITY p "foobar publisher">
<!ENTITY % q "quzz">
]>
<root />
EOS
REXML::Text.new("&quzz", false, doc.root, false).to_s # => "&&q;"
REXML::Text.new("quzz", false, doc.root, true).to_s # => "quzz"
//}... -
CGI
. escapeHTML(string) -> String (25.0) -
与えられた文字列中の '、&、"、<、> を実体参照に置換した文字列を新しく作成し返します。
...与えられた文字列中の '、&、"、<、> を実体参照に置換した文字列を新しく作成し返します。
@param string 文字列を指定します。
require "cgi"
p CGI.escapeHTML("3 > 1") #=> "3 > 1"
print('<script type="text/javascript">alert(......"警告")</script>')
p CGI.escapeHTML('<script type="text/javascript">alert("警告")</script>')
#=> "<script type="text/javascript">alert("警告")</script>"... -
CGI
. escape _ html(string) -> String (25.0) -
与えられた文字列中の '、&、"、<、> を実体参照に置換した文字列を新しく作成し返します。
...与えられた文字列中の '、&、"、<、> を実体参照に置換した文字列を新しく作成し返します。
@param string 文字列を指定します。
require "cgi"
p CGI.escapeHTML("3 > 1") #=> "3 > 1"
print('<script type="text/javascript">alert(......"警告")</script>')
p CGI.escapeHTML('<script type="text/javascript">alert("警告")</script>')
#=> "<script type="text/javascript">alert("警告")</script>"... -
REXML
:: Text . unnormalize(string , doctype = nil , filter = nil , illegal = nil) -> String (25.0) -
string を非正規化(すべての entity をアンエスケープ)したものを 返します。
...アンエスケープしない実体の実体名(文字列配列)
@param illegal 内部用。使わないでください。
//emlist[][ruby]{
require 'rexml/text'
REXML::Text.unnormalize("& &foobar; <") # => "& &foobar; <"
REXML::Text.unnormalize("< >", nil, ["lt"]) # => "< >"
//}...