Cotix/cReddit — pull request #45 by DSMan195276 (2013-10-19 03:41:38+00:00)
Title: libreddit: Fix bug in Char parser and add support for \" Escape code

There are two patches here. The first fixes an error I made in my new parser code (Sorry). I was missing a break statement, so the case for a newline was dropping into the next for unicode characters (And it ended up chopping off some characters). That's an easy fix, just add the break statement.

The second patch just adds support for the \" Escape Code for quotes. This is fairly straightforward, no real difference from the \n parsing code, except it inserts a quote character instead of a new line. (Eventually the code could be consolidated into some type of array of values to check and replacements for them, but with so few cases right now that may just over-do it).