markdown: improve filter of class attribute for code blocks

Only allow HighlightJS specific classes.

Reported by ChALkeR.
This commit is contained in:
Unknwon
2017-03-29 19:52:53 -04:00
parent 09723ec0e5
commit 9d06ebd01a
3 changed files with 4 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ import (
"github.com/gogits/gogs/modules/setting"
)
const APP_VER = "0.10.32.0328 / 0.11 RC"
const APP_VER = "0.10.33.0329 / 0.11 RC"
func init() {
setting.AppVer = APP_VER