Eric
Posts: 5743
Joined: 10/10/2003 From: Seattle, WA Status: offline
|
FIT AND FINISH - I had a bug where trying to add bottles to inventory with a new location would fail silently. Stupid typo.
- Fun with whitespace. Now I much more thoroughly scan and cleanse all input for whitespace. So all parts of the wine definition can no longer have embedded cases of more than one space, tab characters, carriage returns, linefeeds etc. All leading and trailing whitespace is removed. And for multi-line text such as tasting notes and professional reviews, all trailing and leading CRLF, CR and LF characters are stripped as well as leading and trailing whitespace. Tabs are turned into spaces. You can now no longer have multiple spaces in a row. Interior CRLF pairs are limited to no more than 2 in a row. I have also cleaned up existing examples of any of these.
_____________________________
Cheers! -Eric LeVine
|