Permalink
Browse files

Closes #1113. Ensures strict evaluation of Atom

  • Loading branch information...
1 parent 1b9c2c5 commit 1c0980be0b388df843770eda3cfdd4be51f24a06 @dpp dpp committed Sep 14, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 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
}
}

0 comments on commit 1c0980b

Please sign in to comment.