Files
Gogs/pkg
Sergey Dryabzhinsky b5a1daa756 template: simple html filter for repository description (#5242)
* Add markdown renderer function to templates, use it for description in repo template

* Fix function call

* Define function Md2html in template namespace

* Change filter from Md2html to nl2br

* Change filter name to NewLine2br as suggested

* Update description output:

- just replace `\n` by `<br>`
- sanitize html after replace
2018-05-29 06:42:27 +08:00
..
2018-05-27 08:53:48 +08:00
2017-04-04 19:29:59 -04:00
2018-05-27 08:53:48 +08:00
2018-05-27 08:53:48 +08:00
2018-05-27 08:53:48 +08:00
2018-05-27 08:53:48 +08:00
2018-05-27 08:53:48 +08:00
2018-05-27 08:53:48 +08:00
2018-05-27 08:53:48 +08:00
2017-04-04 19:29:59 -04:00
2018-05-27 08:53:48 +08:00
2017-04-04 19:29:59 -04:00