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.
2 parents 428272b + a5f845b commit a14d976Copy full SHA for a14d976
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