summaryrefslogtreecommitdiffstats
path: root/modules/markup/markup.go
Commit message (Collapse)AuthorAgeFilesLines
* Rework special link parsing in the post-processing of markup (#3354)Morgan Bazalgette2018-02-271-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Get rid of autolink * autolink in markdown * Replace email addresses with mailto links * better handling of links * Remove autolink.js from footer * Refactor entire html.go * fix some bugs * Make tests green, move what we can to html_internal_test, various other changes to processor logic * Make markdown tests work again This is just a description to allow me to force push in order to restart the drone build. * Fix failing markdown tests in routers/api/v1/misc * Add license headers, log errors, future-proof <body> * fix formatting
* Restructure markup & markdown to prepare for multiple markup languageā€¦ (#2411)Lunny Xiao2017-09-161-23/+57
| | | | | | | | | | * restructure markup & markdown to prepare for multiple markup languages support * adjust some functions between markdown and markup * fix tests * improve the comments
* gofmt (#1710)Ethan Koenig2017-05-121-1/+0
|
* markup: microoptimise for many short filenames in directory (#1534)mappu2017-05-091-2/+5
| | | | | | | | * markup: microoptimise for many short filenames in directory Move strings.ToLower() after the early-return length check. This is a safe operation in all cases and should slightly improve directory listing performance when a directory contains many thousands of files with short filenames. * markup: expand test cases for IsReadmeFile()
* fix multiple readme file rendering and fix #1657 (#1658)Lunny Xiao2017-05-021-0/+9
| | | | | | * fix multiple readme file rendering and fix #1657 * remove unnecessary loop
* Add markup package to prepare for org markup format (#1493)Lunny Xiao2017-04-211-0/+72