diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rexml/dtd/dtd.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rexml/dtd/dtd.rb b/lib/rexml/dtd/dtd.rb index 4f735d4812..81119cfa9b 100644 --- a/lib/rexml/dtd/dtd.rb +++ b/lib/rexml/dtd/dtd.rb @@ -25,7 +25,7 @@ module REXML when ElementDecl.PATTERN_RE match = $& source = $' - contents << ElementDecl.new( match ) + contents << EleemntDecl.new( match ) when AttlistDecl.PATTERN_RE matchdata = $~ source = $' |