Added support for block quotes, refactorings aboud.

Truth be told I was coerced into making some changes I wasn't thrilled about,
code isn't quite as DRY as I'd like, but you can't with them all unforunately.