Closed truebluepl closed 2 weeks ago
I would like to add space character into placeholder attribute of MATH-FIELD element, but space is ignored.
<math-field value="1" placeholder="some text"></math-field>
Placeholder is rendered as sometext. I was trying also "some\spacetext" and "some\spacetext", but with no luck (wrong parsing Latex).
Space should not be ingored.
The value of the placeholder text is a LaTeX string. To display it as text (including visible whitespace), use the \text command:
\text
<math-field placeholder="\text{some text}"></math-field>
Description
I would like to add space character into placeholder attribute of MATH-FIELD element, but space is ignored.
Steps to Reproduce
<math-field value="1" placeholder="some text"></math-field>
Actual Behavior
Placeholder is rendered as sometext. I was trying also "some\spacetext" and "some\spacetext", but with no luck (wrong parsing Latex).
Expected Behavior
Space should not be ingored.