HubPress / hubpress.io

A web application to build your blog on GitHub
MIT License
2.81k stars 2.63k forks source link

Fast render fails when post contains passthrough <script> tags #540

Open rorosaurus opened 6 years ago

rorosaurus commented 6 years ago
  1. Make a post which contains +++<script>document.write("Hello!");</script>+++
  2. Enable fast render

The whole wrapper for the admin console will disappear and you'll see a blank page with the text "Hello!"

The post itself is published fine though, it seems. So this should be a low priority bug, if it meets the bar at all. :)