Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

noir 1.3.0-beta6: escape-html already refers to: #'hiccup.core/escape-html in namespace: hiccup.page #101

Open
devn opened this issue May 11, 2012 · 5 comments

Comments

@devn
Copy link

devn commented May 11, 2012

escape-html already refers to: #'hiccup.core/escape-html in namespace: hiccup.page
  [Thrown class java.lang.IllegalStateException]

My code is as follows:

(ns walton.html
  (:require [accession.core :as redis]
            [noir.server :as server]
            [walton.core :as core]))
@michaelklishin
Copy link
Contributor

I hit this as well

@michaelklishin
Copy link
Contributor

I was able to work around this, however, my code had other issues I had to resolve. @devn can you please paste the entire stack trace? I would like to dig into this deeper.

@mrgordon
Copy link

I've seen this error directly from compojure (not using noir) so maybe that will help you identify where the problem is coming from.

@rausm
Copy link

rausm commented Jun 11, 2012

I hit that today, on hiccup 1.0.0

hiccup.page :uses hiccup.core and hiccup.util
hiccup.core also :uses hiccup.util

...

@rausm
Copy link

rausm commented Jun 12, 2012

workaround: change the definition of h in hiccup.core to refer to fully qualified name:

(def ^{:doc "Alias for hiccup.util/escape-html"}
h hiccup.util/escape-html)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants