Dmitry Stropalov
Dmitry Stropalov

Reputation: 790

Lift's splitting single tags into pairs leads to issues

I'm using Nivo Slider for some html-pages of my project. Img tags are inserted by a snippet into the Nivo's div. In all browsers all looks fine - except IE: duplicated images, broken navigation, etc. The cause is that the snippet transforms <img ... /> into <img></img> tag pair. Is there a way not to split single tags into pairs with Scala/Lift during processing?

Upvotes: 2

Views: 134

Answers (1)

Dmitry Stropalov
Dmitry Stropalov

Reputation: 790

The answer is to turn off Lift's IE render feature. In Boot.scala:

LiftRules.calcIEMode = () => false

Upvotes: 1

Related Questions