hzhu
hzhu

Reputation: 3799

Hiccup: How can I render a quotation mark in Reagent?

I am trying to render quotes around text with Hiccup.

[:p "I want double quotes around this string"]

I tried &qout; to no avail.

Upvotes: 2

Views: 208

Answers (1)

sbensu
sbensu

Reputation: 1511

Try escaping the quotes:

[:p "\"I want quotes around this string\""]

Upvotes: 4

Related Questions