[Bug]: Multiple lines of Python within <PyScript> tags treated as 1 line of Python #1867
Open
1 task done
Labels
wontfix
This will not be worked on
What happened?
Trying to do some very basic Python in my React project with pyscript-react, but it appears that if you have multiple lines of Python between the
<PyScript>
tags, it is treated as all 1 line of Python causing syntax errors. For example, the follow code throws a syntax error:Vanilla PyScript can handle having multiple lines of Python between the tags just fine.
Version
0.0.4
Relevant log output
How to reproduce?
Simply install and import pyscript-react into a React project and try to write more than 1 line of Python code between the
<PyScript>
and</PyScript>
tagsCode of Conduct
The text was updated successfully, but these errors were encountered: