Closed Jarzka closed 2 years ago
I have the following hiccup form [:use {:xlink:href (str "#" name)}]
This incorrectly outputs as an empty use tag without any attributes.
It seems that if :xlink:href is replaced with :href it works, however Firefox and iPad require to use the correct attribute xlink:href
Nevermind, :xlinkHref works.
I have tried test case like below, it passes
(is (= (str (html [:xml {:a:b "1", :b "2"}])) "<xml a:b=\"1\" b=\"2\"></xml>"))
how to reproduce your case?
I have the following hiccup form [:use {:xlink:href (str "#" name)}]
This incorrectly outputs as an empty use tag without any attributes.
It seems that if :xlink:href is replaced with :href it works, however Firefox and iPad require to use the correct attribute xlink:href