Commit bf187e6

mo <mo@mokhan.ca>
2017-11-24 20:52:50
display the authentication request.
1 parent 58be672
Changed files (1)
lib
saml
lib/saml/kit/document.rb
@@ -52,6 +52,10 @@ module Saml
         pretty ? Nokogiri::XML(content).to_xml(indent: 2) : content
       end
 
+      def to_xhtml
+        Nokogiri::XML(content, &:noblanks).to_xhtml
+      end
+
       def to_s
         to_xml
       end