// Copyright 2017-2022 The MathJax Consortium
// SPDX-License-Identifier: Apache-2.0
// This file is a Go translation and modification of MathJax 3.2.2.
// Sources: ts/output/common/Wrappers/ms.ts and ts/output/svg/Wrappers/ms.ts.

package svg

import (
	
	
)

// CommonMs adds quote text to its wrappers, never to the original MathML.
// An explicitly supplied or directly inherited quote remains literal. Only
// unset default quotes become curly, and monospace always keeps them straight.
func ( *wrapper) () {
	 := stringAttribute(.node, "lquote", `"`)
	 := stringAttribute(.node, "rquote", `"`)
	if .variant != font.Monospace {
		if !.node.Attributes.IsSet("lquote") &&  == `"` {
			 = "\u201C"
		}
		if !.node.Attributes.IsSet("rquote") &&  == `"` {
			 = "\u201D"
		}
	}
	 := .renderer.wrap(mml.NewText(), , .scriptLevel, .displayStyle)
	 := .renderer.wrap(mml.NewText(), , .scriptLevel, .displayStyle)
	.children = append([]*wrapper{}, .children...)
	.children = append(.children, )
}