Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Closes #1113. Ensures strict evaluation of Atom

  • Loading branch information...
commit 1c0980be0b388df843770eda3cfdd4be51f24a06 1 parent 1b9c2c5
@dpp dpp authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 web/webkit/src/main/scala/net/liftweb/http/LiftSession.scala
View
6 web/webkit/src/main/scala/net/liftweb/http/LiftSession.scala
@@ -1879,6 +1879,12 @@ class LiftSession(private[http] val _contextPath: String, val uniqueId: String,
Elem(v.prefix, v.label, processAttributes(v.attributes),
v.scope, processSurroundAndInclude(page, v.child): _*)
+ case pcd: scala.xml.PCData => pcd
+ case text: Text => text
+ case unparsed: Unparsed => unparsed
+
+ case a: Atom[Any] if a.getClass() == "scala.xml.Atom" => new Text(a.data.toString)
+
case v => v
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.