]> source.dussan.org Git - gitea.git/commit
Prefix all user-generated IDs in markup (#9477)
authorJohn Olheiser <42128690+jolheiser@users.noreply.github.com>
Mon, 23 Dec 2019 22:38:50 +0000 (16:38 -0600)
committerzeripath <art27@cantab.net>
Mon, 23 Dec 2019 22:38:50 +0000 (22:38 +0000)
commite6ceb6880a8615ad5b8b6a88a0b1bfbd85f4033c
tree5ffdd08dbf265b35f1405683242a4c8c80ff41eb
parent071e7c4f0a31ee8b2039b90bb478f13cac62abae
Prefix all user-generated IDs in markup (#9477)

* Prefix all user-generated IDs in markup
* Add user-content- to IDs in unit-tests
* fixup markdown_test.go
* update the hrefs for the wiki test
* Add blackfriday extension regex

Signed-off-by: jolheiser <john.olheiser@gmail.com>
modules/markup/html.go
modules/markup/markdown/markdown.go
modules/markup/markdown/markdown_test.go
routers/api/v1/misc/markdown_test.go
web_src/js/index.js