Shurn the Awesomer

Improving my little site

Written on Thu, 12 May 2016

Ok, so I've been spending the past few days trying to improve the site at the back. This is very important as the content that is generated on the front depends a lot on what was at the back. The system behind the blog posts were not correctly rendering <br /> properly. So I had to dig deeper to find out why my /n is not properly converted.

Turns out, the way the wiki text parser is treats every line break as a new line to parse, thus totally ignoring my regex that needs to read the /n symbol. Thus I had to do hackish methods make line breaks work.

It works out now properly.
Like!
This!
Tada!

And the previous posts are now rendering line breaks properly too.