Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Prefer a feature check to a version check

  • Loading branch information...
commit 02b716a322d07fbb87eec0ad48f7029da1682648 1 parent 5d2b5ba
@jeremy jeremy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activesupport/lib/active_support/core_ext/rexml.rb
View
2  activesupport/lib/active_support/core_ext/rexml.rb
@@ -6,7 +6,7 @@
# This fix is identical to rexml-expansion-fix version 1.0.1
# Earlier versions of rexml defined REXML::Version, newer ones REXML::VERSION
-unless (defined?(REXML::VERSION) ? REXML::VERSION : REXML::Version) > "3.1.7.2"
+unless REXML::Document.respond_to?(:entity_expansion_limit=)
module REXML
class Entity < Child
undef_method :unnormalized
Please sign in to comment.
Something went wrong with that request. Please try again.