diff --git a/src/StyleContextStack.js b/src/StyleContextStack.js index 188fbef0e..b2bf59270 100644 --- a/src/StyleContextStack.js +++ b/src/StyleContextStack.js @@ -65,6 +65,10 @@ class StyleContextStack { return 0; } + if (typeof item.section !== 'undefined') { // section node not support style overrides + return 0; + } + let styleNames = []; if (item.style) {