diff options
Diffstat (limited to 'lib/rexml/dtd')
-rw-r--r-- | lib/rexml/dtd/entitydecl.rb | 2 | ||||
-rw-r--r-- | lib/rexml/dtd/notationdecl.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/rexml/dtd/entitydecl.rb b/lib/rexml/dtd/entitydecl.rb index 83156dfc71..164825570f 100644 --- a/lib/rexml/dtd/entitydecl.rb +++ b/lib/rexml/dtd/entitydecl.rb @@ -48,7 +48,7 @@ module REXML def EntityDecl.parse_source source, listener md = source.match( PATTERN_RE, true ) - thing = md[0].squeeze " \t\n\r" + thing = md[0].squeeze(" \t\n\r") listener.send inspect.downcase, thing end end diff --git a/lib/rexml/dtd/notationdecl.rb b/lib/rexml/dtd/notationdecl.rb index 09b6743c5c..d577ce0631 100644 --- a/lib/rexml/dtd/notationdecl.rb +++ b/lib/rexml/dtd/notationdecl.rb @@ -31,7 +31,7 @@ module REXML def NotationDecl.parse_source source, listener md = source.match( PATTERN_RE, true ) - thing = md[0].squeeze " \t\n\r" + thing = md[0].squeeze(" \t\n\r") listener.send inspect.downcase, thing end end |