View Single Post
Old 03-13-2012, 06:43 PM   #23
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
Yes, sure. One could also argue that it should never close a quote when there it has no opening quote to partner it. But that's simply not how the code works at the moment. It's called smart punctuation but it's really just a simple heuristic which may or may not work.

It actually works quite well all things considered, but with strange formatting such as these space characters it fails.

Also I'm not sure if the original code has a concept of paragraphs at all, looks more like it's originally designed for plain text, such as what people write in a textarea form field.
frostschutz is offline   Reply With Quote