Lift's splitting single tags into pairs leads to issues
I'm using Nivo Slider for some html-pages of my 开发者_C百科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?
The answer is to turn off Lift's IE render feature. In Boot.scala:
LiftRules.calcIEMode = () => false
精彩评论