Skip to content

Commit 7947b16

Browse files
Dimitri Fedorovbendlas
authored andcommitted
DXML-61: avoid calling -pr-writer directly in cljs element printer
1 parent 0720752 commit 7947b16

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/clojure/clojure/data/xml/node.cljc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,13 +151,13 @@
151151
[IPrintWithWriter
152152
(-pr-writer [this writer opts]
153153
(-write writer "#xml/element{:tag ")
154-
(-pr-writer tag writer opts)
154+
(pr-writer tag writer opts)
155155
(when-not (empty? attrs)
156156
(-write writer ", :attrs ")
157-
(-pr-writer attrs writer opts))
157+
(pr-writer attrs writer opts))
158158
(when-not (empty? content)
159159
(-write writer ", :content ")
160-
(pr-sequential-writer writer -pr-writer "[" " " "]" opts content))
160+
(pr-sequential-writer writer pr-writer "[" " " "]" opts content))
161161
(-write writer "}"))]))
162162

163163
;; clj printing is a multimethod

0 commit comments

Comments
 (0)