Fixed prism parsing of ltr and rtl flags.