Roller code today

September 13th, 2004 by Hen

I did a bit more Roller tonight.

The Wiki-JS editor needed a fix as I’d put what I thought was a good idea in at the end and broken some features. Typical optimistic hacking. Secondly, fixed a bug that was irritating my wife where categories could not contain & characters, else they had problems rendering.

As I remarked in a conversation today;
“Coding = fun… Scratching an itch = fun++… Making wife happy = priceless”.

I just had to manually escape the amphersand there. I guess my editor should be doing that for me. A todo!

Another one is that the newline handling needs a fix. Currently, for every N consecutive newlines, I replace them with N-1 br tags. This is wrong. It should be, for every N consecutive newlines, where N > 1; replace with N br tags.

One Response to “Roller code today”

  1. Sonta Says:

    Nice blog!