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 10ad3fd commit 402ee87Copy full SHA for 402ee87
src/library/processInlineTag.js
@@ -32,7 +32,7 @@ export default function processInlineTag(
32
style.add(`bgcolor-${backgroundColor.replace(/ /g, '')}`);
33
}
34
if (fontSize) {
35
- style.add(`fontsize-${fontSize.substr(0, fontSize.length - 2)}`);
+ style.add(`fontsize-${fontSize.replace(/px$/g, '')}`);
36
37
if (fontFamily) {
38
style.add(`fontfamily-${fontFamily}`);
0 commit comments