File tree Expand file tree Collapse file tree 2 files changed +0
-23
lines changed
main/java/skills/services
test/java/skills/services Expand file tree Collapse file tree 2 files changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ class CustomValidator {
8282 private static final Pattern TABLE_FIX = ~/ (?m)(^\n )(^[|].+[|]$\n ^[|].*[-]{3,}.*[|]$)/
8383 private static final Pattern CODEBLOCK_FIX = ~/ (?m)(^\n )(^[`]{3}$)/
8484 private static final Pattern LIST_FIX = ~/ (?m)(^\n )(\s *\d\. |\* |- .*$)/
85- private static final Pattern HEADING_FIX = ~/ (?m)([(].+[)].*$)\n (\n .*$)/
8685
8786 @PostConstruct
8887 CustomValidator init () {
@@ -250,7 +249,6 @@ class CustomValidator {
250249 toValidate = TABLE_FIX . matcher(toValidate). replaceAll(' $2' )
251250 toValidate = CODEBLOCK_FIX . matcher(toValidate). replaceAll(' $2' )
252251 toValidate = LIST_FIX . matcher(toValidate). replaceAll(' $2' )
253- toValidate = HEADING_FIX . matcher(toValidate). replaceAll(' $1$2' )
254252
255253 // remove two+ newlines from codeblocks so we do not split
256254 StringBuilder out = new StringBuilder ()
You can’t perform that action at this time.
0 commit comments