Skip to content

Commit fa836fe

Browse files
committed
Make sure character CSS is included when a stretchy delimiter is used.
1 parent 74df965 commit fa836fe

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • ts/output/chtml/Wrappers

ts/output/chtml/Wrappers/mo.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ CommonMoMixin<CHTMLConstructor<any, any, any>>(CHTMLWrapper) {
158158
protected stretchHTML(chtml: N) {
159159
const c = this.getText().codePointAt(0);
160160
this.font.delimUsage.add(c);
161+
this.childNodes[0].markUsed();
161162
const delim = this.stretch;
162163
const stretch = delim.stretch;
163164
const content: N[] = [];

0 commit comments

Comments
 (0)