reactpy icon indicating copy to clipboard operation
reactpy copied to clipboard

Don't strip Script tag elements

Open Archmonger opened this issue 3 years ago • 2 comments

Current Situation

The client code currently strips script tags and replaces them with div.

For example, this script element wont appear within the browser's DOM.


@component
def my_component():
   return html.script("console.log('hello_world');")

Proposed Actions

Remove this behavior, since we now officially support script within ReactPy. There's no longer any reason to visually hide the script tag.

Archmonger avatar Aug 08 '22 18:08 Archmonger

@Archmonger Please assign this stuff to me, I think I can do this.

rishabhRsinghvi avatar Oct 27 '23 15:10 rishabhRsinghvi

@rishabhRsinghvi We do not use the GitHub issue assignment feature. Feel free to open a PR and link it to this issue.

Archmonger avatar Oct 30 '23 19:10 Archmonger