Skip to content

Commit a8943e6

Browse files
committed
fix vsch#66
1 parent 2c152ae commit a8943e6

57 files changed

Lines changed: 360 additions & 121 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.idea/markdown-navigator.xml

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

VERSION.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ flexmark-java
66
[TOC]: # " "
77

88
- [To Do](#to-do)
9+
- [0.16.0](#0160)
910
- [0.15.4](#0154)
1011
- [0.15.3](#0153)
1112
- [0.15.2](#0152)
@@ -125,6 +126,15 @@ flexmark-java
125126

126127
&nbsp;</details>
127128

129+
0.16.0
130+
------
131+
132+
API Change: To fix #66 it was necessary to add more parameters to
133+
`BlockParser.canContain(ParserState, BlockParser, Block)` to allow for more testing whether a
134+
fenced code block can be contained by a list item.
135+
136+
Fix: #66, GitHub Doc profile incorrect parsing of following markdown
137+
128138
0.15.4
129139
------
130140

flexmark-all/pom.xml

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>com.vladsch.flexmark</groupId>
99
<artifactId>flexmark-java</artifactId>
10-
<version>0.15.4</version>
10+
<version>0.16.0</version>
1111
</parent>
1212

1313
<artifactId>flexmark-all</artifactId>
@@ -21,152 +21,152 @@
2121
<dependency>
2222
<groupId>com.vladsch.flexmark</groupId>
2323
<artifactId>flexmark</artifactId>
24-
<version>0.15.4</version>
24+
<version>0.16.0</version>
2525
</dependency>
2626
<dependency>
2727
<groupId>com.vladsch.flexmark</groupId>
2828
<artifactId>flexmark-ext-abbreviation</artifactId>
29-
<version>0.15.4</version>
29+
<version>0.16.0</version>
3030
</dependency>
3131
<dependency>
3232
<groupId>com.vladsch.flexmark</groupId>
3333
<artifactId>flexmark-ext-anchorlink</artifactId>
34-
<version>0.15.4</version>
34+
<version>0.16.0</version>
3535
</dependency>
3636
<dependency>
3737
<groupId>com.vladsch.flexmark</groupId>
3838
<artifactId>flexmark-ext-aside</artifactId>
39-
<version>0.15.4</version>
39+
<version>0.16.0</version>
4040
</dependency>
4141
<dependency>
4242
<groupId>com.vladsch.flexmark</groupId>
4343
<artifactId>flexmark-ext-autolink</artifactId>
44-
<version>0.15.4</version>
44+
<version>0.16.0</version>
4545
</dependency>
4646
<dependency>
4747
<groupId>com.vladsch.flexmark</groupId>
4848
<artifactId>flexmark-ext-definition</artifactId>
49-
<version>0.15.4</version>
49+
<version>0.16.0</version>
5050
</dependency>
5151
<dependency>
5252
<groupId>com.vladsch.flexmark</groupId>
5353
<artifactId>flexmark-ext-emoji</artifactId>
54-
<version>0.15.4</version>
54+
<version>0.16.0</version>
5555
</dependency>
5656
<dependency>
5757
<groupId>com.vladsch.flexmark</groupId>
5858
<artifactId>flexmark-ext-escaped-character</artifactId>
59-
<version>0.15.4</version>
59+
<version>0.16.0</version>
6060
</dependency>
6161
<dependency>
6262
<groupId>com.vladsch.flexmark</groupId>
6363
<artifactId>flexmark-ext-footnotes</artifactId>
64-
<version>0.15.4</version>
64+
<version>0.16.0</version>
6565
</dependency>
6666
<dependency>
6767
<groupId>com.vladsch.flexmark</groupId>
6868
<artifactId>flexmark-ext-gfm-strikethrough</artifactId>
69-
<version>0.15.4</version>
69+
<version>0.16.0</version>
7070
</dependency>
7171
<dependency>
7272
<groupId>com.vladsch.flexmark</groupId>
7373
<artifactId>flexmark-ext-gfm-tables</artifactId>
74-
<version>0.15.4</version>
74+
<version>0.16.0</version>
7575
</dependency>
7676
<dependency>
7777
<groupId>com.vladsch.flexmark</groupId>
7878
<artifactId>flexmark-ext-gfm-tasklist</artifactId>
79-
<version>0.15.4</version>
79+
<version>0.16.0</version>
8080
</dependency>
8181
<dependency>
8282
<groupId>com.vladsch.flexmark</groupId>
8383
<artifactId>flexmark-ext-jekyll-front-matter</artifactId>
84-
<version>0.15.4</version>
84+
<version>0.16.0</version>
8585
</dependency>
8686
<dependency>
8787
<groupId>com.vladsch.flexmark</groupId>
8888
<artifactId>flexmark-ext-jekyll-tag</artifactId>
89-
<version>0.15.4</version>
89+
<version>0.16.0</version>
9090
</dependency>
9191
<dependency>
9292
<groupId>com.vladsch.flexmark</groupId>
9393
<artifactId>flexmark-ext-ins</artifactId>
94-
<version>0.15.4</version>
94+
<version>0.16.0</version>
9595
</dependency>
9696
<dependency>
9797
<groupId>com.vladsch.flexmark</groupId>
9898
<artifactId>flexmark-ext-xwiki-macros</artifactId>
99-
<version>0.15.4</version>
99+
<version>0.16.0</version>
100100
</dependency>
101101
<dependency>
102102
<groupId>com.vladsch.flexmark</groupId>
103103
<artifactId>flexmark-ext-spec-example</artifactId>
104-
<version>0.15.4</version>
104+
<version>0.16.0</version>
105105
</dependency>
106106
<dependency>
107107
<groupId>com.vladsch.flexmark</groupId>
108108
<artifactId>flexmark-ext-superscript</artifactId>
109-
<version>0.15.4</version>
109+
<version>0.16.0</version>
110110
</dependency>
111111
<dependency>
112112
<groupId>com.vladsch.flexmark</groupId>
113113
<artifactId>flexmark-ext-tables</artifactId>
114-
<version>0.15.4</version>
114+
<version>0.16.0</version>
115115
</dependency>
116116
<dependency>
117117
<groupId>com.vladsch.flexmark</groupId>
118118
<artifactId>flexmark-ext-toc</artifactId>
119-
<version>0.15.4</version>
119+
<version>0.16.0</version>
120120
</dependency>
121121
<dependency>
122122
<groupId>com.vladsch.flexmark</groupId>
123123
<artifactId>flexmark-ext-typographic</artifactId>
124-
<version>0.15.4</version>
124+
<version>0.16.0</version>
125125
</dependency>
126126
<dependency>
127127
<groupId>com.vladsch.flexmark</groupId>
128128
<artifactId>flexmark-ext-wikilink</artifactId>
129-
<version>0.15.4</version>
129+
<version>0.16.0</version>
130130
</dependency>
131131
<dependency>
132132
<groupId>com.vladsch.flexmark</groupId>
133133
<artifactId>flexmark-ext-yaml-front-matter</artifactId>
134-
<version>0.15.4</version>
134+
<version>0.16.0</version>
135135
</dependency>
136136
<dependency>
137137
<groupId>com.vladsch.flexmark</groupId>
138138
<artifactId>flexmark-formatter</artifactId>
139-
<version>0.15.4</version>
139+
<version>0.16.0</version>
140140
</dependency>
141141
<dependency>
142142
<groupId>com.vladsch.flexmark</groupId>
143143
<artifactId>flexmark-html-parser</artifactId>
144-
<version>0.15.4</version>
144+
<version>0.16.0</version>
145145
</dependency>
146146
<dependency>
147147
<groupId>com.vladsch.flexmark</groupId>
148148
<artifactId>flexmark-jira-converter</artifactId>
149-
<version>0.15.4</version>
149+
<version>0.16.0</version>
150150
</dependency>
151151
<dependency>
152152
<groupId>com.vladsch.flexmark</groupId>
153153
<artifactId>flexmark-pdf-converter</artifactId>
154-
<version>0.15.4</version>
154+
<version>0.16.0</version>
155155
</dependency>
156156
<dependency>
157157
<groupId>com.vladsch.flexmark</groupId>
158158
<artifactId>flexmark-profile-pegdown</artifactId>
159-
<version>0.15.4</version>
159+
<version>0.16.0</version>
160160
</dependency>
161161
<dependency>
162162
<groupId>com.vladsch.flexmark</groupId>
163163
<artifactId>flexmark-util</artifactId>
164-
<version>0.15.4</version>
164+
<version>0.16.0</version>
165165
</dependency>
166166
<dependency>
167167
<groupId>com.vladsch.flexmark</groupId>
168168
<artifactId>flexmark-youtrack-converter</artifactId>
169-
<version>0.15.4</version>
169+
<version>0.16.0</version>
170170
</dependency>
171171
</dependencies>
172172

flexmark-ext-abbreviation/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.vladsch.flexmark</groupId>
66
<artifactId>flexmark-java</artifactId>
7-
<version>0.15.4</version>
7+
<version>0.16.0</version>
88
</parent>
99

1010
<artifactId>flexmark-ext-abbreviation</artifactId>

flexmark-ext-anchorlink/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.vladsch.flexmark</groupId>
66
<artifactId>flexmark-java</artifactId>
7-
<version>0.15.4</version>
7+
<version>0.16.0</version>
88
</parent>
99

1010
<artifactId>flexmark-ext-anchorlink</artifactId>
@@ -28,7 +28,7 @@
2828
<dependency>
2929
<groupId>com.vladsch.flexmark</groupId>
3030
<artifactId>flexmark-jira-converter</artifactId>
31-
<version>0.15.4</version>
31+
<version>0.16.0</version>
3232
<scope>test</scope>
3333
</dependency>
3434
<dependency>

flexmark-ext-aside/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.vladsch.flexmark</groupId>
66
<artifactId>flexmark-java</artifactId>
7-
<version>0.15.4</version>
7+
<version>0.16.0</version>
88
</parent>
99

1010
<artifactId>flexmark-ext-aside</artifactId>

flexmark-ext-aside/src/main/java/com/vladsch/flexmark/ext/aside/internal/AsideBlockParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public boolean isPropagatingLastBlankLine(BlockParser lastMatchedBlockParser) {
3737
}
3838

3939
@Override
40-
public boolean canContain(Block block) {
40+
public boolean canContain(ParserState state, BlockParser blockParser, Block block) {
4141
return true;
4242
}
4343

flexmark-ext-autolink/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.vladsch.flexmark</groupId>
66
<artifactId>flexmark-java</artifactId>
7-
<version>0.15.4</version>
7+
<version>0.16.0</version>
88
</parent>
99

1010
<artifactId>flexmark-ext-autolink</artifactId>

flexmark-ext-definition/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.vladsch.flexmark</groupId>
66
<artifactId>flexmark-java</artifactId>
7-
<version>0.15.4</version>
7+
<version>0.16.0</version>
88
</parent>
99

1010
<artifactId>flexmark-ext-definition</artifactId>

flexmark-ext-definition/src/main/java/com/vladsch/flexmark/ext/definition/internal/DefinitionItemBlockParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public boolean isContainer() {
6565
}
6666

6767
@Override
68-
public boolean canContain(final Block block) {
68+
public boolean canContain(ParserState state, BlockParser blockParser, final Block block) {
6969
return true;
7070
}
7171

0 commit comments

Comments
 (0)