<!DOCTYPE html> <html> <head><title>Test dir=rtl</title></head> <body> <p>ms lquote="A" rquote="B": <math> <ms lquote="B" rquote="A">___</ms> </math> </p> </body> </html>