File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -136,15 +136,15 @@ var parserConfig = {
136
136
var parsedChildren;
137
137
if (domNode .attribs ) {
138
138
if (domNode .attribs .id === ' main' ) {
139
- parsedChildren = domToReact (domNode .children , parserConfig); // continue parsing domNode children with same config
139
+ parsedChildren = domToReact (domNode .children , parserConfig); // continue parsing domNode's children with same config
140
140
return React .createElement (' span' , {
141
141
key: key,
142
142
style: { fontSize: ' 42px' } },
143
143
parsedChildren);
144
144
// equivalent jsx syntax:
145
145
// return <span key={key} style={{ fontSize: '42px' }}>{parsedChildren}</span>;
146
146
} else if (domNode .attribs .class === ' prettify' ) {
147
- parsedChildren = domToReact (domNode .children , parserConfig); // continue parsing domNode children with same config
147
+ parsedChildren = domToReact (domNode .children , parserConfig); // continue parsing domNode's children with same config
148
148
return React .createElement (' span' , {
149
149
key: key,
150
150
style: { color: ' hotpink' } },
You can’t perform that action at this time.
0 commit comments