Hmm, the bbcode parser definitely is trim-happy where
string.trim()
is a function that removes all leading/trailing whitespace with impunity including newlines and tabs.
Sometimes when writing post, our whitespace is intentional, but sometimes we use whitespace/newlines only to organize our markup visually and we don't intend all of it to be translated literally. The parser just isn't very refined enough to tell the difference in many cases.
I will experiment with relaxing/removing the trim logic, but the ideal solution is to write a
string.smartTrim()
function that can recognize the sort of whitespace we add only to make the actual markup aesthetically pleasing.
For example, I want to write this:
[h1]My Title[/h1]
<-- Aesthetic newline
Here is my post.
instead of this:
[h1]My Title[/h1] Here is my post.
to get the spacing I want.
<Snipped quote by Mahz> By behaviour, yes. As the last edits dictate, though, the cookie has an expiration date in 2016 ... it simply isn't respected. Tried several times to make sure it was not a browser update or similar one time occurrence messing with it, but no, it keeps happening, and only for RPG. All other cookies seem to work as intended. (FF 40.0.3 for Ubuntu canonical 1.0, at the time being.)
Thanks for the info. The guild's remember-me cookie expires in one year because apparently one year is the smallest maximum that works in most browsers on most OS. Maybe it isn't working for you because it expires in 365 days + the remaining fraction of the current day. I'll change it to a 300 day expiration to rule out that hypothesis once and for all.