Letractively / fuuka

Automatically exported from code.google.com/p/fuuka
Other
0 stars 0 forks source link

Quotes break when done consecutively. #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
>What steps will reproduce the problem?

1. Copypasting Kusaba's sourcecode.
2. Actually learning how to program.
3. Recoding the entire ghost board with a REAL language like php.

>What is the expected output? What do you see instead?

I see dead people.

>What version of the product are you using? On what operating system?

Hopefully version 0.00004. Because if this is version 1.0 and higher we
have a problem Houston.

>Please provide any additional information below.
I <3 you.

Original issue reported on code.google.com by 4tha...@gmail.com on 27 May 2009 at 4:12

GoogleCodeExporter commented 8 years ago
>What steps will reproduce the problem?
Oops, I read that as "What steps would reduce the problem?"

Oh well.

Original comment by 4tha...@gmail.com on 27 May 2009 at 4:21

GoogleCodeExporter commented 8 years ago
I'm not sure how I should respond to this.

Okay, issue accepted, I will fix it the next time I'm messing with board code.

Original comment by andrey.o...@gmail.com on 28 May 2009 at 6:29

GoogleCodeExporter commented 8 years ago
Haha, what the hell, why did you make the regex for >>postno links so 
complicated?

You didn't have to handle “^>>1234 quote here” -> “>>1234<span 
class="unkfunc">quote
here</span>” in the >>postno link regexp. You just had to move the generic 
unkfunc
regex before the postno one. That makes all the $first and $quote crap unneeded.

In fact, I believe unkfunc'd text when a line starts with a >>postno link is a
futallaby bug and not a feature. It just happens because they do quotes before 
they
parse intraboard links. But since we're emulating 4chan, I suppose we have to 
do it
like that.

Fixed is r42, but double check it yourself, please.

Original comment by eksopl on 25 Jun 2009 at 4:26