Compare commits
2 Commits
dependabot
...
e76025eb90
| Author | SHA1 | Date | |
|---|---|---|---|
| e76025eb90 | |||
| 9ffcf266da |
3
Makefile
3
Makefile
@@ -64,6 +64,9 @@ docker-run:
|
||||
.PHONY: install-deps
|
||||
install-deps:
|
||||
npm install
|
||||
|
||||
.PHONY: install-test-deps
|
||||
install-test-deps:
|
||||
pip install -r src/python/requirements.txt
|
||||
|
||||
.PHONY: run
|
||||
|
||||
@@ -27,7 +27,7 @@ func init() {
|
||||
bmPolicy.AllowElements("style")
|
||||
bmPolicy.AllowAttrs("checked", "disabled", "type").OnElements("input")
|
||||
bmPolicy.AllowAttrs("width", "height", "align").OnElements("img")
|
||||
bmPolicy.AllowAttrs("style", "class", "align").OnElements("span", "p", "div", "a")
|
||||
bmPolicy.AllowAttrs("style", "class", "align").OnElements("span", "p", "div", "a", "table", "tr", "td", "th")
|
||||
md = goldmark.New(
|
||||
goldmark.WithExtensions(extension.GFM),
|
||||
goldmark.WithExtensions(mathjax.MathJax),
|
||||
|
||||
Reference in New Issue
Block a user