Conversation
Dashes
-
[sp][b]Obyqgrkg va n fcbvyre? Vg'f zber yvxryl guna lbh guvax.[/b][/sp] #spoiler
about a year ago from web-
@bitshift [b][i][u][s][c=blue]OOpbqrnohfr Lnl![/c][/s][/u][/i][/b]
about a year ago from web -
@bitshift Ah, excellent, so it's only the input box that BB-code tags still break in. Time to start on that, then. :D
about a year ago from web -
@bitshift V npghnyyl svkrq gung hc, znxvat vg fb #links naq #stuff erznvarq abezny ohg grkg jnf ebgngrq cebcreyl. #spoiler
about a year ago from web-
about a year ago from web
-
@minti Nice hamster. :3
about a year ago from web-
@izurin :3
about a year ago from web
-
-
-
@minti Yeah, I saw that in the change list, and tried it in the input box first, where it didn't work - I plan to fix that next. But yeah, in posts themselves, it's all good. :)
about a year ago from web-
@bitshift If you're going to try and detect links with a regex, don't do what StatusNet did and make it span like 200 lines. LOL
about a year ago from web-
@minti Don't worry, I only plan to catch BBcode tags. Links would probably be better to be affected by rot13 anyway, since it's entirely possible the URL itself is spoilery.
about a year ago from web-
@bitshift True that! :p
about a year ago from web-
@minti Not that it's impossible to catch links with a fairly concise regex (I have one in IdentiCurse that, in my extensive use, has yet to miss any valid links or catch any invalid ones), it's just that it simply isn't necessary here. :)
about a year ago from web-
@bitshift Good, then you can avoid behemoths like this: http://gitorious.org/statusnet/mainline/blobs/master/lib/util.php#line830
about a year ago from web-
@minti That... kinda makes sense, in its own strange way. They're trying to catch absolutely everything the URI spec defines as a valid URL, whereas the more sane-length regexes (such as the one I mentioned) are content to just match everything which is actually used in practice in more than a handful of cases. :)
-
-
-
-
-
-
-
-





