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

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

Open
pkese opened this issue Sep 22, 2024 · 3 comments
Open

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

pkese opened this issue Sep 22, 2024 · 3 comments

Comments

@pkese
Copy link

pkese commented Sep 22, 2024

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

image

It works fine if href is a static string.

@pkese pkese changed the title Html tag a(href=$"<interpolated string") not working Html tag a(href=$"<interpolated string>") not working Sep 22, 2024
@Lanayx
Copy link
Owner

Lanayx commented Sep 23, 2024

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

@pkese
Copy link
Author

pkese commented Sep 23, 2024

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
Copy link
Owner

Lanayx commented Sep 23, 2024

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

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

No branches or pull requests

2 participants