added support for split and flip cards, also fixed error with paragraph breaks