mirror of
https://github.com/gogs/gogs.git
synced 2026-01-18 13:22:18 +01:00
* 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