Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Closes #1113. Ensures strict evaluation of Atom
  • Loading branch information
dpp committed Sep 14, 2011
1 parent 1b9c2c5 commit 1c0980b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions web/webkit/src/main/scala/net/liftweb/http/LiftSession.scala
Expand Up @@ -1879,6 +1879,12 @@ class LiftSession(private[http] val _contextPath: String, val uniqueId: String,
Elem(v.prefix, v.label, processAttributes(v.attributes), Elem(v.prefix, v.label, processAttributes(v.attributes),
v.scope, processSurroundAndInclude(page, v.child): _*) 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 case v => v
} }
} }
Expand Down

0 comments on commit 1c0980b

Please sign in to comment.