mirror of
https://github.com/gogs/gogs.git
synced 2025-05-21 23:10:27 +00: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