Fixed URL for iframe not being encoded

This commit is contained in:
Amazed 2018-12-19 15:38:19 +01:00
parent 3d8566af04
commit 64f6e33b34

View File

@ -44,7 +44,7 @@
</ul> </ul>
</div> </div>
<!-- /#sidebar-wrapper --> <!-- /#sidebar-wrapper -->
<iframe id="preview" style="width:100%" src="{% url 'iframe' encodedurl=url %}"></iframe> <iframe id="preview" style="width:100%" src="{% url 'iframe' encodedurl=encodedurl %}"></iframe>
<script> <script>
$(function() { $(function() {
function handleResize() { function handleResize() {