Skip to content

HtmlString support for Script #189

Description

@Frizlab

For instance, let’s say I want to inline a js script, e.g.:

new Promise((r, f) => { ... })

Currently, if I do the naive thing:

Script{ "new Promise((r, f) => { ... })" }

the output will be

<script>new Promise((r, f) =&gt; { ... })</script>

which is not parsed properly.

PS: I’m well aware this should probably be avoided, but it is very convenient to do when testing stuff…

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions