escape html when displaying git changelog
This commit is contained in:
@ -15,7 +15,7 @@
|
||||
(h2 "site info" ~(run "make-footnote \"as of last build\""))
|
||||
(details
|
||||
(summary "git changelog")
|
||||
(pre ~(run "git log --pretty=format:'%ad %s' --date=short")))
|
||||
(pre ~(run #[[git log --pretty=format:'%ad %s' --date=short | sed 's/</\</g; s/>/\>/g']])))
|
||||
|
||||
(details
|
||||
(summary "file tree of the site on the server")
|
||||
|
Reference in New Issue
Block a user