sanitize markdown: meh no trivial xss
This commit is contained in:
BIN
views/.layout.jade.swp
Normal file
BIN
views/.layout.jade.swp
Normal file
Binary file not shown.
@@ -1,4 +1,5 @@
|
||||
include ./layout.jade
|
||||
h1= title
|
||||
form(method="post", action="/" + name)
|
||||
textarea(name="markdown")= markdown
|
||||
input(type="submit")
|
||||
input(type="submit")
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
!!!
|
||||
doctype html
|
||||
html
|
||||
head
|
||||
title= title
|
||||
link(rel='stylesheet', href='/stylesheets/style.css')
|
||||
body!= body
|
||||
body!= body
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
include ./layout.jade
|
||||
h1= title
|
||||
.article!= html
|
||||
a(href="/" + name + "/edit")= "Edit this Page"
|
||||
a(href="/" + name + "/edit")= "Edit this Page"
|
||||
|
||||
Reference in New Issue
Block a user