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 36ee575 commit f009e69Copy full SHA for f009e69
src/textlint-rule-no-unmatched-pair.js
@@ -10,7 +10,15 @@ const report = context => {
10
return {
11
[Syntax.Paragraph](node) {
12
const sentences = splitAST(node);
13
- ignoreNodeManager.ignoreChildrenByTypes(node, [Syntax.Code]);
+ ignoreNodeManager.ignoreChildrenByTypes(node, [
14
+ Syntax.CodeBlock,
15
+ Syntax.Code,
16
+ Syntax.Link,
17
+ Syntax.Strong,
18
+ Syntax.Emphasis,
19
+ Syntax.BlockQuote,
20
+ Syntax.Comment
21
+ ]);
22
sentences.children.filter(node => node.type === SentenceSyntax.Sentence).forEach(sentence => {
23
const source = new SourceCode(sentence.raw);
24
const pairMaker = new PairMaker();
0 commit comments