Inserted custom functions for testing for opening and closing
quotes. #MMAP-11 Fixed