summaryrefslogtreecommitdiff
path: root/lib/rexml/dtd
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rexml/dtd')
-rw-r--r--lib/rexml/dtd/entitydecl.rb2
-rw-r--r--lib/rexml/dtd/notationdecl.rb2
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