Skip to content

Commit a85e7f5

Browse files
committed
Depend on a up-to-date version of parboiled-java
So markdown parsing also works in modern Java. endophile is based on pegdown which is unmaintained (https://github.com/sirthias/pegdown). In fact it does not work with newer Java versions due to its dependency on an old parboiled-java (https://mvnrepository.com/artifact/org.parboiled/parboiled-java) So as a quick workaround we depend on a newer parboiled-java to make the whole thing work again. But the real fix is to move to a well maintained clojure markdown parsing library such as nextjournal markdown (https://github.com/nextjournal/markdown) for markdown parsing.
1 parent 73b9aa5 commit a85e7f5

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

project.clj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@
1313
[conman "0.9.1" :exclusions [org.clojure/tools.reader]]
1414
[cprop "0.1.19"]
1515
[endophile "0.2.1"]
16+
;; FIXME: endophile is based on pegdown which is unmaintained (https://github.com/sirthias/pegdown). In
17+
;; fact it does not work with newer Java versions due to its dependency on an old
18+
;; parboiled-java (https://mvnrepository.com/artifact/org.parboiled/parboiled-java) So as a quick
19+
;; workaround we depend on a newer parboiled-java to make the whole thing work again.
20+
;;
21+
;; But the real fix is probably to move to a well maintained clojure markdown parsing library such as
22+
;; nextjournal markdown (https://github.com/nextjournal/markdown) for markdown parsing.
23+
[org.parboiled/parboiled-java "1.4.1"]
1624
[expound "0.8.10"]
1725
[hiccup "1.0.5"]
1826
[io.prometheus/simpleclient_hotspot "0.12.0"]

0 commit comments

Comments
 (0)