Project

General

Profile

Actions

Bug #8302

closed

REXML::Text の entity_filter が有効でない

Added by ohai (Ippei Obayashi) almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.1.0dev (2013-04-20 trunk 40391) [x86_64-linux]
[ruby-dev:47278]

Description

REXML::Text の initialize や to_s のドキュメントによると、
添付したファイル(text_entity_filter.rb)を実行すると
"&f; &b;"
"foo &b;"
と出力されるはずですが、実際には
"&f; &b;"
"&f; &b;"
と出力されます。

添付したパッチで修正されると思います。

しかし、この機能は何に使うのでしょうか?


Files

text_entity_filter.rb (271 Bytes) text_entity_filter.rb ohai (Ippei Obayashi), 04/20/2013 05:29 PM
text_normalize.patch (544 Bytes) text_normalize.patch ohai (Ippei Obayashi), 04/20/2013 05:29 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0