From 07bcb1cdbd140ce958e3c244bd3dd2d054f5348d Mon Sep 17 00:00:00 2001 From: Marius BALTEANU Date: Sat, 17 Feb 2018 15:33:11 +0000 Subject: [PATCH] enable and add underline button for markdown --- lib/redmine/wiki_formatting/markdown/formatter.rb | 3 ++- lib/redmine/wiki_formatting/markdown/html_parser.rb | 5 +++-- public/help/ar/wiki_syntax_detailed_markdown.html | 2 ++ public/help/ar/wiki_syntax_markdown.html | 1 + public/help/az/wiki_syntax_detailed_markdown.html | 2 ++ public/help/az/wiki_syntax_markdown.html | 1 + public/help/bg/wiki_syntax_detailed_markdown.html | 2 ++ public/help/bg/wiki_syntax_markdown.html | 1 + public/help/bs/wiki_syntax_detailed_markdown.html | 2 ++ public/help/bs/wiki_syntax_markdown.html | 1 + public/help/ca/wiki_syntax_detailed_markdown.html | 2 ++ public/help/ca/wiki_syntax_markdown.html | 1 + public/help/cs/wiki_syntax_markdown.html | 1 + public/help/da/wiki_syntax_detailed_markdown.html | 2 ++ public/help/da/wiki_syntax_markdown.html | 1 + public/help/de/wiki_syntax_detailed_markdown.html | 2 ++ public/help/de/wiki_syntax_markdown.html | 1 + public/help/el/wiki_syntax_detailed_markdown.html | 2 ++ public/help/el/wiki_syntax_markdown.html | 1 + public/help/en-gb/wiki_syntax_detailed_markdown.html | 2 ++ public/help/en-gb/wiki_syntax_markdown.html | 1 + public/help/en/wiki_syntax_detailed_markdown.html | 2 ++ public/help/en/wiki_syntax_markdown.html | 1 + public/help/es-pa/wiki_syntax_detailed_markdown.html | 2 ++ public/help/es-pa/wiki_syntax_markdown.html | 1 + public/help/es/wiki_syntax_detailed_markdown.html | 2 ++ public/help/es/wiki_syntax_markdown.html | 1 + public/help/et/wiki_syntax_detailed_markdown.html | 2 ++ public/help/et/wiki_syntax_markdown.html | 1 + public/help/eu/wiki_syntax_detailed_markdown.html | 2 ++ public/help/eu/wiki_syntax_markdown.html | 1 + public/help/fa/wiki_syntax_detailed_markdown.html | 2 ++ public/help/fa/wiki_syntax_markdown.html | 1 + public/help/fi/wiki_syntax_detailed_markdown.html | 2 ++ public/help/fi/wiki_syntax_markdown.html | 1 + public/help/fr/wiki_syntax_detailed_markdown.html | 2 ++ public/help/fr/wiki_syntax_markdown.html | 1 + public/help/gl/wiki_syntax_detailed_markdown.html | 1 + public/help/gl/wiki_syntax_detailed_textile.html | 1 + public/help/gl/wiki_syntax_markdown.html | 1 + public/help/he/wiki_syntax_detailed_markdown.html | 2 ++ public/help/he/wiki_syntax_markdown.html | 1 + public/help/hr/wiki_syntax_detailed_markdown.html | 2 ++ public/help/hr/wiki_syntax_markdown.html | 1 + public/help/hu/wiki_syntax_detailed_markdown.html | 2 ++ public/help/hu/wiki_syntax_markdown.html | 1 + public/help/id/wiki_syntax_detailed_markdown.html | 2 ++ public/help/id/wiki_syntax_markdown.html | 1 + public/help/it/wiki_syntax_detailed_markdown.html | 2 ++ public/help/it/wiki_syntax_markdown.html | 1 + public/help/ko/wiki_syntax_detailed_markdown.html | 2 ++ public/help/ko/wiki_syntax_markdown.html | 1 + public/help/lt/wiki_syntax_detailed_markdown.html | 2 ++ public/help/lt/wiki_syntax_markdown.html | 1 + public/help/lv/wiki_syntax_detailed_markdown.html | 2 ++ public/help/lv/wiki_syntax_markdown.html | 1 + public/help/mk/wiki_syntax_detailed_markdown.html | 2 ++ public/help/mk/wiki_syntax_markdown.html | 1 + public/help/mn/wiki_syntax_detailed_markdown.html | 2 ++ public/help/mn/wiki_syntax_markdown.html | 1 + public/help/nl/wiki_syntax_detailed_markdown.html | 2 ++ public/help/nl/wiki_syntax_markdown.html | 1 + public/help/no/wiki_syntax_detailed_markdown.html | 2 ++ public/help/no/wiki_syntax_markdown.html | 1 + public/help/pl/wiki_syntax_detailed_markdown.html | 2 ++ public/help/pl/wiki_syntax_markdown.html | 1 + public/help/pt-br/wiki_syntax_detailed_markdown.html | 2 ++ public/help/pt-br/wiki_syntax_markdown.html | 1 + public/help/pt/wiki_syntax_detailed_markdown.html | 2 ++ public/help/pt/wiki_syntax_markdown.html | 1 + public/help/ro/wiki_syntax_detailed_markdown.html | 2 ++ public/help/ro/wiki_syntax_markdown.html | 1 + public/help/ru/wiki_syntax_detailed_markdown.html | 2 ++ public/help/ru/wiki_syntax_markdown.html | 1 + public/help/sk/wiki_syntax_detailed_markdown.html | 2 ++ public/help/sk/wiki_syntax_markdown.html | 1 + public/help/sl/wiki_syntax_detailed_markdown.html | 2 ++ public/help/sl/wiki_syntax_markdown.html | 1 + public/help/sq/wiki_syntax_detailed_markdown.html | 2 ++ public/help/sq/wiki_syntax_markdown.html | 1 + public/help/sr-yu/wiki_syntax_detailed_markdown.html | 2 ++ public/help/sr-yu/wiki_syntax_markdown.html | 1 + public/help/sr/wiki_syntax_detailed_markdown.html | 2 ++ public/help/sr/wiki_syntax_markdown.html | 1 + public/help/sv/wiki_syntax_detailed_markdown.html | 2 ++ public/help/sv/wiki_syntax_markdown.html | 1 + public/help/th/wiki_syntax_detailed_markdown.html | 2 ++ public/help/th/wiki_syntax_markdown.html | 1 + public/help/tr/wiki_syntax_detailed_markdown.html | 2 ++ public/help/tr/wiki_syntax_markdown.html | 1 + public/help/vi/wiki_syntax_detailed_markdown.html | 2 ++ public/help/vi/wiki_syntax_markdown.html | 1 + public/help/zh/wiki_syntax_detailed_markdown.html | 2 ++ public/help/zh/wiki_syntax_markdown.html | 1 + public/javascripts/jstoolbar/markdown.js | 9 +++++++++ test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb | 4 ++++ 96 files changed, 154 insertions(+), 3 deletions(-) diff --git a/lib/redmine/wiki_formatting/markdown/formatter.rb b/lib/redmine/wiki_formatting/markdown/formatter.rb index c959c3a..158248a 100644 --- a/lib/redmine/wiki_formatting/markdown/formatter.rb +++ b/lib/redmine/wiki_formatting/markdown/formatter.rb @@ -143,7 +143,8 @@ module Redmine :superscript => true, :no_intra_emphasis => true, :footnotes => true, - :lax_spacing => true + :lax_spacing => true, + :underline => true ) end end diff --git a/lib/redmine/wiki_formatting/markdown/html_parser.rb b/lib/redmine/wiki_formatting/markdown/html_parser.rb index cee3a2f..f340340 100644 --- a/lib/redmine/wiki_formatting/markdown/html_parser.rb +++ b/lib/redmine/wiki_formatting/markdown/html_parser.rb @@ -23,8 +23,9 @@ module Redmine self.tags = tags.merge( 'b' => {:pre => '**', :post => '**'}, 'strong' => {:pre => '**', :post => '**'}, - 'i' => {:pre => '_', :post => '_'}, - 'em' => {:pre => '_', :post => '_'}, + 'i' => {:pre => '*', :post => '*'}, + 'em' => {:pre => '*', :post => '*'}, + 'u' => {:pre => '_', :post => '_'}, 'strike' => {:pre => '~~', :post => '~~'}, 'h1' => {:pre => "\n\n# ", :post => "\n\n"}, 'h2' => {:pre => "\n\n## ", :post => "\n\n"}, diff --git a/public/help/ar/wiki_syntax_detailed_markdown.html b/public/help/ar/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/ar/wiki_syntax_detailed_markdown.html +++ b/public/help/ar/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/ar/wiki_syntax_markdown.html b/public/help/ar/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/ar/wiki_syntax_markdown.html +++ b/public/help/ar/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/az/wiki_syntax_detailed_markdown.html b/public/help/az/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/az/wiki_syntax_detailed_markdown.html +++ b/public/help/az/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/az/wiki_syntax_markdown.html b/public/help/az/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/az/wiki_syntax_markdown.html +++ b/public/help/az/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/bg/wiki_syntax_detailed_markdown.html b/public/help/bg/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/bg/wiki_syntax_detailed_markdown.html +++ b/public/help/bg/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/bg/wiki_syntax_markdown.html b/public/help/bg/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/bg/wiki_syntax_markdown.html +++ b/public/help/bg/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/bs/wiki_syntax_detailed_markdown.html b/public/help/bs/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/bs/wiki_syntax_detailed_markdown.html +++ b/public/help/bs/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/bs/wiki_syntax_markdown.html b/public/help/bs/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/bs/wiki_syntax_markdown.html +++ b/public/help/bs/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/ca/wiki_syntax_detailed_markdown.html b/public/help/ca/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/ca/wiki_syntax_detailed_markdown.html +++ b/public/help/ca/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/ca/wiki_syntax_markdown.html b/public/help/ca/wiki_syntax_markdown.html index 3cad889..370c2fb 100644 --- a/public/help/ca/wiki_syntax_markdown.html +++ b/public/help/ca/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Negreta**Negreta**Negreta Cursiva*Cursiva*Cursiva +Underline_Underline_Underline Eliminat~~Eliminat~~Eliminat Codi en línia`Codi en línia`Codi en línia Linies de codi~~~
     linies
     de codi
    ~~~ diff --git a/public/help/cs/wiki_syntax_markdown.html b/public/help/cs/wiki_syntax_markdown.html index 57131af..cb618e1 100644 --- a/public/help/cs/wiki_syntax_markdown.html +++ b/public/help/cs/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Styly písma Strong**Tučně**Tučně Italic*Kurzívou*Kurzívou +Underline_Underline_Underline Deleted~~Smazaný~~Smazaný Inline Code`Vnořený kód`Vnořený kód Preformatted text~~~
     řádky
     kódu
    ~~~ diff --git a/public/help/da/wiki_syntax_detailed_markdown.html b/public/help/da/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/da/wiki_syntax_detailed_markdown.html +++ b/public/help/da/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/da/wiki_syntax_markdown.html b/public/help/da/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/da/wiki_syntax_markdown.html +++ b/public/help/da/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/de/wiki_syntax_detailed_markdown.html b/public/help/de/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/de/wiki_syntax_detailed_markdown.html +++ b/public/help/de/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/de/wiki_syntax_markdown.html b/public/help/de/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/de/wiki_syntax_markdown.html +++ b/public/help/de/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/el/wiki_syntax_detailed_markdown.html b/public/help/el/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/el/wiki_syntax_detailed_markdown.html +++ b/public/help/el/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/el/wiki_syntax_markdown.html b/public/help/el/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/el/wiki_syntax_markdown.html +++ b/public/help/el/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/en-gb/wiki_syntax_detailed_markdown.html b/public/help/en-gb/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/en-gb/wiki_syntax_detailed_markdown.html +++ b/public/help/en-gb/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/en-gb/wiki_syntax_markdown.html b/public/help/en-gb/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/en-gb/wiki_syntax_markdown.html +++ b/public/help/en-gb/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/en/wiki_syntax_detailed_markdown.html b/public/help/en/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/en/wiki_syntax_detailed_markdown.html +++ b/public/help/en/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/en/wiki_syntax_markdown.html b/public/help/en/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/en/wiki_syntax_markdown.html +++ b/public/help/en/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/es-pa/wiki_syntax_detailed_markdown.html b/public/help/es-pa/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/es-pa/wiki_syntax_detailed_markdown.html +++ b/public/help/es-pa/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/es-pa/wiki_syntax_markdown.html b/public/help/es-pa/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/es-pa/wiki_syntax_markdown.html +++ b/public/help/es-pa/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/es/wiki_syntax_detailed_markdown.html b/public/help/es/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/es/wiki_syntax_detailed_markdown.html +++ b/public/help/es/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/es/wiki_syntax_markdown.html b/public/help/es/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/es/wiki_syntax_markdown.html +++ b/public/help/es/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/et/wiki_syntax_detailed_markdown.html b/public/help/et/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/et/wiki_syntax_detailed_markdown.html +++ b/public/help/et/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/et/wiki_syntax_markdown.html b/public/help/et/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/et/wiki_syntax_markdown.html +++ b/public/help/et/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/eu/wiki_syntax_detailed_markdown.html b/public/help/eu/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/eu/wiki_syntax_detailed_markdown.html +++ b/public/help/eu/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/eu/wiki_syntax_markdown.html b/public/help/eu/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/eu/wiki_syntax_markdown.html +++ b/public/help/eu/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/fa/wiki_syntax_detailed_markdown.html b/public/help/fa/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/fa/wiki_syntax_detailed_markdown.html +++ b/public/help/fa/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/fa/wiki_syntax_markdown.html b/public/help/fa/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/fa/wiki_syntax_markdown.html +++ b/public/help/fa/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/fi/wiki_syntax_detailed_markdown.html b/public/help/fi/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/fi/wiki_syntax_detailed_markdown.html +++ b/public/help/fi/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/fi/wiki_syntax_markdown.html b/public/help/fi/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/fi/wiki_syntax_markdown.html +++ b/public/help/fi/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/fr/wiki_syntax_detailed_markdown.html b/public/help/fr/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/fr/wiki_syntax_detailed_markdown.html +++ b/public/help/fr/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/fr/wiki_syntax_markdown.html b/public/help/fr/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/fr/wiki_syntax_markdown.html +++ b/public/help/fr/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/gl/wiki_syntax_detailed_markdown.html b/public/help/gl/wiki_syntax_detailed_markdown.html index cc4eb70..b240643 100644 --- a/public/help/gl/wiki_syntax_detailed_markdown.html +++ b/public/help/gl/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ diff --git a/public/help/gl/wiki_syntax_detailed_textile.html b/public/help/gl/wiki_syntax_detailed_textile.html index 78074b4..939b4f3 100644 --- a/public/help/gl/wiki_syntax_detailed_textile.html +++ b/public/help/gl/wiki_syntax_detailed_textile.html @@ -184,6 +184,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • underline
  • strike-through
  • diff --git a/public/help/gl/wiki_syntax_markdown.html b/public/help/gl/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/gl/wiki_syntax_markdown.html +++ b/public/help/gl/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/he/wiki_syntax_detailed_markdown.html b/public/help/he/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/he/wiki_syntax_detailed_markdown.html +++ b/public/help/he/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/he/wiki_syntax_markdown.html b/public/help/he/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/he/wiki_syntax_markdown.html +++ b/public/help/he/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/hr/wiki_syntax_detailed_markdown.html b/public/help/hr/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/hr/wiki_syntax_detailed_markdown.html +++ b/public/help/hr/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/hr/wiki_syntax_markdown.html b/public/help/hr/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/hr/wiki_syntax_markdown.html +++ b/public/help/hr/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/hu/wiki_syntax_detailed_markdown.html b/public/help/hu/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/hu/wiki_syntax_detailed_markdown.html +++ b/public/help/hu/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/hu/wiki_syntax_markdown.html b/public/help/hu/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/hu/wiki_syntax_markdown.html +++ b/public/help/hu/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/id/wiki_syntax_detailed_markdown.html b/public/help/id/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/id/wiki_syntax_detailed_markdown.html +++ b/public/help/id/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/id/wiki_syntax_markdown.html b/public/help/id/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/id/wiki_syntax_markdown.html +++ b/public/help/id/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/it/wiki_syntax_detailed_markdown.html b/public/help/it/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/it/wiki_syntax_detailed_markdown.html +++ b/public/help/it/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/it/wiki_syntax_markdown.html b/public/help/it/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/it/wiki_syntax_markdown.html +++ b/public/help/it/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/ko/wiki_syntax_detailed_markdown.html b/public/help/ko/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/ko/wiki_syntax_detailed_markdown.html +++ b/public/help/ko/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/ko/wiki_syntax_markdown.html b/public/help/ko/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/ko/wiki_syntax_markdown.html +++ b/public/help/ko/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/lt/wiki_syntax_detailed_markdown.html b/public/help/lt/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/lt/wiki_syntax_detailed_markdown.html +++ b/public/help/lt/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/lt/wiki_syntax_markdown.html b/public/help/lt/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/lt/wiki_syntax_markdown.html +++ b/public/help/lt/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/lv/wiki_syntax_detailed_markdown.html b/public/help/lv/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/lv/wiki_syntax_detailed_markdown.html +++ b/public/help/lv/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/lv/wiki_syntax_markdown.html b/public/help/lv/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/lv/wiki_syntax_markdown.html +++ b/public/help/lv/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/mk/wiki_syntax_detailed_markdown.html b/public/help/mk/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/mk/wiki_syntax_detailed_markdown.html +++ b/public/help/mk/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/mk/wiki_syntax_markdown.html b/public/help/mk/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/mk/wiki_syntax_markdown.html +++ b/public/help/mk/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/mn/wiki_syntax_detailed_markdown.html b/public/help/mn/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/mn/wiki_syntax_detailed_markdown.html +++ b/public/help/mn/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/mn/wiki_syntax_markdown.html b/public/help/mn/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/mn/wiki_syntax_markdown.html +++ b/public/help/mn/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/nl/wiki_syntax_detailed_markdown.html b/public/help/nl/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/nl/wiki_syntax_detailed_markdown.html +++ b/public/help/nl/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/nl/wiki_syntax_markdown.html b/public/help/nl/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/nl/wiki_syntax_markdown.html +++ b/public/help/nl/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/no/wiki_syntax_detailed_markdown.html b/public/help/no/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/no/wiki_syntax_detailed_markdown.html +++ b/public/help/no/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/no/wiki_syntax_markdown.html b/public/help/no/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/no/wiki_syntax_markdown.html +++ b/public/help/no/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/pl/wiki_syntax_detailed_markdown.html b/public/help/pl/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/pl/wiki_syntax_detailed_markdown.html +++ b/public/help/pl/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/pl/wiki_syntax_markdown.html b/public/help/pl/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/pl/wiki_syntax_markdown.html +++ b/public/help/pl/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/pt-br/wiki_syntax_detailed_markdown.html b/public/help/pt-br/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/pt-br/wiki_syntax_detailed_markdown.html +++ b/public/help/pt-br/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/pt-br/wiki_syntax_markdown.html b/public/help/pt-br/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/pt-br/wiki_syntax_markdown.html +++ b/public/help/pt-br/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/pt/wiki_syntax_detailed_markdown.html b/public/help/pt/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/pt/wiki_syntax_detailed_markdown.html +++ b/public/help/pt/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/pt/wiki_syntax_markdown.html b/public/help/pt/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/pt/wiki_syntax_markdown.html +++ b/public/help/pt/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/ro/wiki_syntax_detailed_markdown.html b/public/help/ro/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/ro/wiki_syntax_detailed_markdown.html +++ b/public/help/ro/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/ro/wiki_syntax_markdown.html b/public/help/ro/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/ro/wiki_syntax_markdown.html +++ b/public/help/ro/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/ru/wiki_syntax_detailed_markdown.html b/public/help/ru/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/ru/wiki_syntax_detailed_markdown.html +++ b/public/help/ru/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/ru/wiki_syntax_markdown.html b/public/help/ru/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/ru/wiki_syntax_markdown.html +++ b/public/help/ru/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/sk/wiki_syntax_detailed_markdown.html b/public/help/sk/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/sk/wiki_syntax_detailed_markdown.html +++ b/public/help/sk/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/sk/wiki_syntax_markdown.html b/public/help/sk/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/sk/wiki_syntax_markdown.html +++ b/public/help/sk/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/sl/wiki_syntax_detailed_markdown.html b/public/help/sl/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/sl/wiki_syntax_detailed_markdown.html +++ b/public/help/sl/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/sl/wiki_syntax_markdown.html b/public/help/sl/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/sl/wiki_syntax_markdown.html +++ b/public/help/sl/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/sq/wiki_syntax_detailed_markdown.html b/public/help/sq/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/sq/wiki_syntax_detailed_markdown.html +++ b/public/help/sq/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/sq/wiki_syntax_markdown.html b/public/help/sq/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/sq/wiki_syntax_markdown.html +++ b/public/help/sq/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/sr-yu/wiki_syntax_detailed_markdown.html b/public/help/sr-yu/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/sr-yu/wiki_syntax_detailed_markdown.html +++ b/public/help/sr-yu/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/sr-yu/wiki_syntax_markdown.html b/public/help/sr-yu/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/sr-yu/wiki_syntax_markdown.html +++ b/public/help/sr-yu/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/sr/wiki_syntax_detailed_markdown.html b/public/help/sr/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/sr/wiki_syntax_detailed_markdown.html +++ b/public/help/sr/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/sr/wiki_syntax_markdown.html b/public/help/sr/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/sr/wiki_syntax_markdown.html +++ b/public/help/sr/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/sv/wiki_syntax_detailed_markdown.html b/public/help/sv/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/sv/wiki_syntax_detailed_markdown.html +++ b/public/help/sv/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/sv/wiki_syntax_markdown.html b/public/help/sv/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/sv/wiki_syntax_markdown.html +++ b/public/help/sv/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/th/wiki_syntax_detailed_markdown.html b/public/help/th/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/th/wiki_syntax_detailed_markdown.html +++ b/public/help/th/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/th/wiki_syntax_markdown.html b/public/help/th/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/th/wiki_syntax_markdown.html +++ b/public/help/th/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/tr/wiki_syntax_detailed_markdown.html b/public/help/tr/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/tr/wiki_syntax_detailed_markdown.html +++ b/public/help/tr/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/tr/wiki_syntax_markdown.html b/public/help/tr/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/tr/wiki_syntax_markdown.html +++ b/public/help/tr/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/vi/wiki_syntax_detailed_markdown.html b/public/help/vi/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/vi/wiki_syntax_detailed_markdown.html +++ b/public/help/vi/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/vi/wiki_syntax_markdown.html b/public/help/vi/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/vi/wiki_syntax_markdown.html +++ b/public/help/vi/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/help/zh/wiki_syntax_detailed_markdown.html b/public/help/zh/wiki_syntax_detailed_markdown.html index cc4eb70..24e66b6 100644 --- a/public/help/zh/wiki_syntax_detailed_markdown.html +++ b/public/help/zh/wiki_syntax_detailed_markdown.html @@ -183,6 +183,7 @@ http://www.redmine.org, someone@foo.bar * **bold** * *Italic* * ***bold italic*** +* _underline_ * ~~strike-through~~ @@ -192,6 +193,7 @@ http://www.redmine.org, someone@foo.bar
  • bold
  • italic
  • bold italic
  • +
  • underline
  • strike-through
  • diff --git a/public/help/zh/wiki_syntax_markdown.html b/public/help/zh/wiki_syntax_markdown.html index 39f8a3c..ab11c3c 100644 --- a/public/help/zh/wiki_syntax_markdown.html +++ b/public/help/zh/wiki_syntax_markdown.html @@ -13,6 +13,7 @@ Font Styles Strong**Strong**Strong Italic*Italic*Italic +Underline_Underline_Underline Deleted~~Deleted~~Deleted Inline Code`Inline Code`Inline Code Preformatted text~~~
     lines
     of code
    ~~~ diff --git a/public/javascripts/jstoolbar/markdown.js b/public/javascripts/jstoolbar/markdown.js index 02abd72..0e446ed 100644 --- a/public/javascripts/jstoolbar/markdown.js +++ b/public/javascripts/jstoolbar/markdown.js @@ -40,6 +40,15 @@ jsToolBar.prototype.elements.em = { } } +// ins +jsToolBar.prototype.elements.ins = { + type: 'button', + title: 'Underline', + fn: { + wiki: function() { this.singleTag('_') } + } +} + // del jsToolBar.prototype.elements.del = { type: 'button', diff --git a/test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb b/test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb index 3acf29d..9367236 100644 --- a/test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb +++ b/test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb @@ -98,5 +98,9 @@ STR assert_equal "

    This is a list:

    \n\n", @formatter.new(text).to_html.strip end + def test_should_support_underlined_text + text = 'This _text_ should be underlined' + assert_equal '

    This text should be underlined

    ', @formatter.new(text).to_html.strip + end end end -- 2.1.4