Unable to parse HTML; URI malformed with Python injection
Fleeck opened this issue · comments
Artur Kokhanskyi commented
Hi, we generate manifest based on user id in runtime. But the plugin won't run the build, giving me the error above. Any solution to this?
Code in index.html
<link rel="manifest" href="{% url 'wb_manifest_json' token_id=token_id %}" crossorigin="use-credentials" />
Joaquín Sánchez commented
@Fleeck can you provide the full error?
Artur Kokhanskyi commented
Sure @userquin
Joaquín Sánchez commented
from the stacktrace it seems the problem is on vite, not in the plugin, maybe you may ask on vite discord server
Artur Kokhanskyi commented
You are correct. If I comment out the plugin it throws via [vite:build-html]