tyxml icon indicating copy to clipboard operation
tyxml copied to clipboard

ppx: Antiquotation in an attribute argument is currently unsupported

Open Armael opened this issue 8 years ago • 2 comments

Using the ppx, the following pattern, which would be nice to have, is currently unsupported:

# fun extra_classes -> [%html {| <a class="foo bar |} extra_classes {|"></a>|}];;
Error: Error: Mixing literals and OCaml expressions is not supported in attribute values

Armael avatar Jun 26 '17 00:06 Armael

I believe this one would be really useful to support. cc @aantron

Drup avatar Jun 26 '17 12:06 Drup

Seems desirable. I likely won't have time to work on this in the near term.

aantron avatar Jun 26 '17 15:06 aantron