From 9b3a67a98195ae4db8d6e6bbbea6b39a4ed5c2da Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Sat, 21 Sep 2019 21:09:43 -0400 Subject: [PATCH] Add CSS to force LTR direction for SVG output. Resolves issue #2204 --- ts/output/svg.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ts/output/svg.ts b/ts/output/svg.ts index 38a01a075..c9b3ef42c 100644 --- a/ts/output/svg.ts +++ b/ts/output/svg.ts @@ -60,8 +60,11 @@ CommonOutputJax, SVGWrapperFactory, SVGFon * The default styles for SVG */ public static commonStyles: CssStyleList = { + 'mjx-container[jax="SVG"]': { + direction: 'ltr' + }, 'mjx-container[jax="SVG"] > svg': { - 'overflow': 'visible' + overflow: 'visible' }, 'mjx-container[jax="SVG"] > svg a': { fill: 'blue', stroke: 'blue'