Skip to content

Commit aa160f3

Browse files
Attempt replacing String.raw
Co-authored-by: Alex Johnson <[email protected]>
1 parent 5e60b3d commit aa160f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/dash-core-components/src/fragments/Math.react.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ export default class DashMath extends Component {
2929
render() {
3030
return (
3131
<span ref={this.span_element}>
32-
{this.props.inline ? String.raw`\(` : String.raw`\[`}
32+
{this.props.inline ? '\\(' : '\\['}
3333
{this.props.tex}
34-
{this.props.inline ? String.raw`\)` : String.raw`\]`}
34+
{this.props.inline ? '\\)' : '\\]'}
3535
</span>
3636
);
3737
}

0 commit comments

Comments
 (0)