diff --git a/index.js b/index.js index 4c7e89ef..60ae8b66 100644 --- a/index.js +++ b/index.js @@ -818,7 +818,7 @@ export function compiler(markdown, options) { { key: index } ); } - } else { + } else if (raw !== 'style') { map[ATTRIBUTE_TO_JSX_PROP_MAP[raw] || raw] = true; }