mirror of https://github.com/gogits/gogs.git
Browse Source
* 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 replacepull/5246/merge
Sergey Dryabzhinsky
7 years ago
committed by
无闻
2 changed files with 7 additions and 1 deletions
Loading…
Reference in new issue