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

Using Blazor Static Rendering Does Not Work #11

Closed
TheLazyLemur opened this issue Dec 5, 2020 · 4 comments
Closed

Using Blazor Static Rendering Does Not Work #11

TheLazyLemur opened this issue Dec 5, 2020 · 4 comments

Comments

@TheLazyLemur
Copy link

TheLazyLemur commented Dec 5, 2020

Dotnet core 5
Blazor Server

When I use Blazor Static Rendering with this library, certain parts of my HTML break, Namely the <pre> and <code> tags, if I try to change the title while statically rendering with Blazor these tags behave very strangely.

Switching to Server Prerender Does however work.

If i simple remove the call to the library weather that be as a service or components, I get this same behavior.

@jsakamoto
Copy link
Owner

@TheLazyLemur Could you attach a sample project that can reproduce the problem to this thread?

@TheLazyLemur
Copy link
Author

TheLazyLemur commented Dec 5, 2020

@jsakamoto Sure no poblem here you go. It has two pages one where the one has its title being changed and the other not. You'll see the problem. Note that this problem also happens whn using the service instead.

Thanks for getting back to me

RenderingError.zip

@jsakamoto
Copy link
Owner

@TheLazyLemur I fixed this issue, and published the new version of the library.

Please try it out.

Thank you for reporting! 👍

@TheLazyLemur
Copy link
Author

Seems to have worked perfectly. Thanks for the quick help and for making such a useful package.

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

No branches or pull requests

2 participants