Starting pattern matching to find backtick markup
Added markup function and tests
Added string pulverization
This is a broken build. Currently I can pulverize the stuff inside the backticks but not outside. I think I need to use the fact that scan and split with respect to a regex are complimentary. I should thus break up the input into a split array and a scan array. pulverize the split array, mark and puliverize the scan and then stitch them together. I can tell with which to start by checking if the initial character of the input is a bacaktick or not. Currently left two failing tests so that I know where I am
Preview now shows raw HTML. Added some tests for Hebrew fonts
Factor out some of the inline style into a class
Some more refactoring
Still not here. I need to stitch the arrays together. In fact, the markup helper should become an object
Built a string stitcher class with tests
Actually added the stitcher from previous commit. duh. Stitcher integrated into the view some it's Basically working but now some tests are breaking in the show view, not sure why yet. Also, need to add newline into br.
Fixed failing test by extending pulverize to have an optional char replacement. The ZWSP char apparently confuses rspec so I had to test instad with a regex looking for a pulverization with \W
New lines are being properly replaced and tested for
Instead of using replace_newline_with_br using the HTML pre tag. Had to fix a bunch of tests as well as to override some default css for the PRE element.