summaryrefslogtreecommitdiff
path: root/lib/rexml/attribute.rb
diff options
context:
space:
mode:
-rw-r--r--lib/rexml/attribute.rb2
1 files changed, 1 insertions, 1 deletions
@@ -115,7 +115,7 @@ module REXML
def doctype
if @element
doc = @element.document
- doctype = doc.doctype if doc
end
end