Lanayx / Oxpecker

ASP.NET Core based F# framework
MIT License
248 stars 9 forks source link

Html tag a(href=$"<interpolated string>") not working #22

Open pkese opened 1 week ago

pkese commented 1 week ago

it says: The object constructor 'a' takes 0 arguments but is here given 1.

image

It works fine if href is a static string.

Lanayx commented 1 week ago

Hi, @pkese ! Glad you asked, please vote for the related issue https://github.com/dotnet/fsharp/issues/16696 Essentially, you need to add a space before interpolated string until the root issue is fixed

pkese commented 1 week ago

Ah right. I did add a thumbs up on that ticket, thanks.

Should we close this ticket now, or should we keep it around (might be helpful to other folks in similar situation)?

Lanayx commented 1 week ago

I don't mind keeping it open, since there are not so many open tickets anyway :)