0

As it should be text "© is rendered escaped. How then should I render the © html entity unescaped with Reflex.Dom?

philderbeast
  • 267
  • 2
  • 8
  • Have you tried just putting the character in code, directly? It's unicode after all, it should work. – Bartosz Jul 03 '17 at 06:10

1 Answers1

1

Yes, just use text "copyright ©". No need to use HTML codes :)

Schoon
  • 394
  • 1
  • 9
  • Thanks for this workaround. I'd still like to know how to output html entities with reflex dom. – philderbeast Sep 02 '18 at 22:57
  • 1
    Ah, ok, I see. There is a function `_staticDomBuilderEnv_shouldEscape`on StaticDomBuilderEnv but I don't know if you can access it and set it only for the node you want to manipulate (probably not). I'd look at `el'`which gives you access to the node itself and then try to manipulate that node with the GHCJS-DOM api. – Schoon Sep 04 '18 at 08:27