We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 685a53b commit a5f845bCopy full SHA for a5f845b
ts/output/common/Wrappers/mpadded.ts
@@ -173,7 +173,7 @@ export function CommonMpaddedMixin<
173
{
174
get containerWidth(): number {
175
const attributes = this.node.attributes;
176
- const w = attributes.get('width') as string;
+ const w = attributes.get('width').toString();
177
if (
178
!w.match(/^[-+]|%$/) &&
179
attributes.get('data-overflow') === 'linebreak'
0 commit comments