Yet Another Document and a knockout.js Bug
Tuesday, May 29th 2012
I have one more document to write for my current client. Because of that, I really just don’t have time to write, today, in this blog. Not only that, but I don’t really have anything interesting to write. Except this thing I found with knockout.js.
It seems that knockout.js on IE8 strips any trailing white space between a data-bound tag and further text. For example, given the markup:
1 | <div> |
renders as the following in IE8.
1 | <div> |
And you can see the trailing whitespace of the first span
, the space
between the end tag and the word “away,” disappears. I haven’t had time to
hunt down the bug or even report it.
Maybe this weekend.