Case insensitive translation of the 'more' tag when importing from Jekyll - hugo - [fork] hugo port for 9front
 (HTM) git clone git@git.drkhsh.at/hugo.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 9dfb9c14454e6184cd7ff52f6b9f1beffbadf1e5
 (DIR) parent c2ffdfab63510e5fe9c96ab06f99e652e417d9b8
 (HTM) Author: Stefan Buynov <stefan.buynov@gmail.com>
       Date:   Sat, 18 Mar 2017 17:16:25 +0200
       
       Case insensitive translation of the 'more' tag when importing from Jekyll
       
       
       Diffstat:
         M commands/import_jekyll.go           |       2 +-
         M commands/import_jekyll_test.go      |       2 ++
       
       2 files changed, 3 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/commands/import_jekyll.go b/commands/import_jekyll.go
       @@ -518,7 +518,7 @@ func convertJekyllContent(m interface{}, content string) string {
                        re      *regexp.Regexp
                        replace string
                }{
       -                {regexp.MustCompile("<!-- more -->"), "<!--more-->"},
       +                {regexp.MustCompile("(?i)<!-- more -->"), "<!--more-->"},
                        {regexp.MustCompile(`\{%\s*raw\s*%\}\s*(.*?)\s*\{%\s*endraw\s*%\}`), "$1"},
                        {regexp.MustCompile(`{%\s*highlight\s*(.*?)\s*%}`), "{{< highlight $1 >}}"},
                        {regexp.MustCompile(`{%\s*endhighlight\s*%}`), "{{< / highlight >}}"},
 (DIR) diff --git a/commands/import_jekyll_test.go b/commands/import_jekyll_test.go
       @@ -88,6 +88,8 @@ func TestConvertJekyllContent(t *testing.T) {
                }{
                        {map[interface{}]interface{}{},
                                `Test content\n<!-- more -->\npart2 content`, `Test content\n<!--more-->\npart2 content`},
       +                {map[interface{}]interface{}{},
       +                        `Test content\n<!-- More -->\npart2 content`, `Test content\n<!--more-->\npart2 content`},
                        {map[interface{}]interface{}{"excerpt_separator": "<!--sep-->"},
                                `Test content\n<!--sep-->\npart2 content`, `Test content\n<!--more-->\npart2 content`},
                        {map[interface{}]interface{}{}, "{% raw %}text{% endraw %}", "text"},