summaryrefslogtreecommitdiffstats
path: root/test/unit/lib/redmine/wiki_formatting
Commit message (Collapse)AuthorAgeFilesLines
...
* Unify code block and add "data-language" attribute with the user-supplied ↵Marius Balteanu2021-08-152-9/+35
| | | | | | | | language for Textile and Markdown formaters (#35104). Patch by Martin Cizek. git-svn-id: http://svn.redmine.org/redmine/trunk@21183 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "data-language" attribute to code block with the user-supplied language ↵Marius Balteanu2021-08-152-15/+36
| | | | | | | | for CommonMark formater (#35104, #32424). Patch by Martin Cizek. git-svn-id: http://svn.redmine.org/redmine/trunk@21182 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update failing test after hardbreaks enabled by default (#35754, #32424).Marius Balteanu2021-08-151-2/+2
| | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21177 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed failing test on CommonMark by striping the trailing whitespace ↵Marius Balteanu2021-08-111-1/+1
| | | | | | returned by the footnote (#32424). git-svn-id: http://svn.redmine.org/redmine/trunk@21164 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed Layout/HeredocIndentation: Use 2 spaces for indentation in a heredoc ↵Marius Balteanu2021-08-111-11/+11
| | | | | | by using <<~ instead of <<- (#32424). git-svn-id: http://svn.redmine.org/redmine/trunk@21163 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Relax allowed protocols in links by denying specific protocols for ↵Marius Balteanu2021-08-111-5/+19
| | | | | | | | CommonMark text formatting (#32424). Patch by Martin Cizek. git-svn-id: http://svn.redmine.org/redmine/trunk@21161 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds CommonMark Markdown (GitHub Flavored) as third text formatting option ↵Marius Balteanu2021-08-117-0/+755
| | | | | | | | (#32424). Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21156 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Markdown text sections broken by thematic breaks (horizontal rules) (#35036).Go MAEDA2021-05-141-0/+69
| | | | | | | Patch by Martin Cizek. git-svn-id: http://svn.redmine.org/redmine/trunk@20998 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-256-6/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* shorten long line of test/unit/lib/redmine/wiki_formatting/macros_test.rbToshi MARUYAMA2020-12-191-8/+17
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20673 e93f8b46-1217-0410-a6f0-8f06a7374b81
* shorten long line of ↵Toshi MARUYAMA2020-12-191-12/+38
| | | | | | test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20671 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use "skip" instead of "if statement" whether Redcarpet is installed at ↵Toshi MARUYAMA2020-11-301-3/+3
| | | | | | markdown_formatter_test git-svn-id: http://svn.redmine.org/redmine/trunk@20531 e93f8b46-1217-0410-a6f0-8f06a7374b81
* shorten long line of test/unit/lib/redmine/wiki_formatting/macros_test.rbToshi MARUYAMA2020-11-301-23/+43
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20527 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix broken test due to r19868 (#31881).Go MAEDA2020-07-091-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19869 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-036-6/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Newline between list items break a list (#32971).Go MAEDA2020-02-291-0/+18
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@19536 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix missing arrow icon of collapse macro (#32754).Go MAEDA2020-01-071-6/+6
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19413 e93f8b46-1217-0410-a6f0-8f06a7374b81
* filter all possibly class values on code tags in Textile (#25742)Toshi MARUYAMA2019-12-051-0/+8
| | | | | | Contributed by Holger Just from Planio. git-svn-id: http://svn.redmine.org/redmine/trunk@19333 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/IndentFirstHashElement in ↵Toshi MARUYAMA2019-11-241-58/+88
| | | | | | test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19260 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/SpaceInsideBlockBraces in ↵Toshi MARUYAMA2019-11-241-2/+2
| | | | | | test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19259 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/AlignArguments in ↵Toshi MARUYAMA2019-11-241-5/+8
| | | | | | test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19257 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/EmptyLineAfterGuardClause in ↵Toshi MARUYAMA2019-11-241-0/+1
| | | | | | test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19252 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/AlignArguments in ↵Toshi MARUYAMA2019-11-241-10/+18
| | | | | | test/unit/lib/redmine/wiki_formatting/markdown_html_parser_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19251 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/AlignArguments in ↵Toshi MARUYAMA2019-11-241-2/+3
| | | | | | test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19246 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/SpaceInsideParens in ↵Toshi MARUYAMA2019-11-241-1/+5
| | | | | | test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19228 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/AlignArguments in ↵Toshi MARUYAMA2019-11-231-10/+18
| | | | | | test/unit/lib/redmine/wiki_formatting/textile_html_parser_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19196 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/AlignArguments in ↵Toshi MARUYAMA2019-11-231-4/+9
| | | | | | test/unit/lib/redmine/wiki_formatting/html_parser_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19187 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/ClosingHeredocIndentation in ↵Toshi MARUYAMA2019-11-221-26/+24
| | | | | | TextileFormatterTest#test_nested_lists git-svn-id: http://svn.redmine.org/redmine/trunk@19168 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/ClosingHeredocIndentation in ↵Toshi MARUYAMA2019-11-221-34/+32
| | | | | | TextileFormatterTest#test_blockquote git-svn-id: http://svn.redmine.org/redmine/trunk@19167 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/ClosingHeredocIndentation in ↵Toshi MARUYAMA2019-11-221-16/+14
| | | | | | TextileFormatterTest#test_table git-svn-id: http://svn.redmine.org/redmine/trunk@19166 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/ClosingHeredocIndentation in ↵Toshi MARUYAMA2019-11-221-14/+12
| | | | | | TextileFormatterTest#test_table_with_alignment git-svn-id: http://svn.redmine.org/redmine/trunk@19165 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/ClosingHeredocIndentation in ↵Toshi MARUYAMA2019-11-221-16/+14
| | | | | | TextileFormatterTest#test_table_with_trailing_whitespace git-svn-id: http://svn.redmine.org/redmine/trunk@19164 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/ClosingHeredocIndentation in ↵Toshi MARUYAMA2019-11-221-32/+30
| | | | | | TextileFormatterTest#test_table_with_line_breaks git-svn-id: http://svn.redmine.org/redmine/trunk@19163 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/ClosingHeredocIndentation in ↵Toshi MARUYAMA2019-11-221-32/+30
| | | | | | TextileFormatterTest#test_tables_with_lists git-svn-id: http://svn.redmine.org/redmine/trunk@19162 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/ClosingHeredocIndentation in ↵Toshi MARUYAMA2019-11-221-11/+10
| | | | | | TextileFormatterTest#test_get_section_should_support_lines_with_spaces_before_heading git-svn-id: http://svn.redmine.org/redmine/trunk@19161 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/ClosingHeredocIndentation in ↵Toshi MARUYAMA2019-11-221-7/+6
| | | | | | TextileFormatterTest#test_get_section_should_support_headings_starting_with_a_tab git-svn-id: http://svn.redmine.org/redmine/trunk@19160 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/ClosingHeredocIndentation in ↵Toshi MARUYAMA2019-11-221-10/+8
| | | | | | TextileFormatterTest#test_footnotes git-svn-id: http://svn.redmine.org/redmine/trunk@19159 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/ClosingHeredocIndentation in ↵Toshi MARUYAMA2019-11-221-12/+10
| | | | | | TextileFormatterTest#test_should_not_handle_as_preformatted_text_tags_that_starts_with_pre git-svn-id: http://svn.redmine.org/redmine/trunk@19158 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/EmptyLinesAroundClassBody in ↵Toshi MARUYAMA2019-11-211-1/+0
| | | | | | test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19126 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/EmptyLinesAroundClassBody in ↵Toshi MARUYAMA2019-11-211-1/+0
| | | | | | test/unit/lib/redmine/wiki_formatting/markdown_html_parser_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19112 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/EmptyLinesAroundClassBody in ↵Toshi MARUYAMA2019-11-211-1/+0
| | | | | | test/unit/lib/redmine/wiki_formatting/textile_html_parser_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19111 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/EmptyLinesAroundClassBody in ↵Toshi MARUYAMA2019-11-201-1/+0
| | | | | | test/unit/lib/redmine/wiki_formatting/html_parser_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19102 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add missing fixture to Redmine::WikiFormatting::MacrosTest (#32444).Go MAEDA2019-11-131-1/+1
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@19071 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/ClosingHeredocIndentation and ↵Toshi MARUYAMA2019-11-091-35/+33
| | | | | | Layout/IndentHeredoc in test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19020 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that receiving HTML email fails if it contains a link without an href ↵Go MAEDA2019-11-092-0/+14
| | | | | | | | | attribute (#31695). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18988 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/ClosingHeredocIndentation and ↵Toshi MARUYAMA2019-11-091-44/+40
| | | | | | Layout/IndentHeredoc in test/unit/lib/redmine/wiki_formatting/macros_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18987 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/AlignArguments in ↵Toshi MARUYAMA2019-11-061-7/+7
| | | | | | test/unit/lib/redmine/wiki_formatting/macros_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18926 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Eases the regexp used to determine the start of a code block (#32359).Go MAEDA2019-10-291-0/+5
| | | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@18880 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/CommentIndentation and ↵Toshi MARUYAMA2019-10-221-19/+26
| | | | | | Layout/MultilineArrayBraceLayout in test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18810 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/CommentIndentation and ↵Toshi MARUYAMA2019-10-171-23/+30
| | | | | | Layout/MultilineArrayBraceLayout of STR_WITH_PRE in test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18699 e93f8b46-1217-0410-a6f0-8f06a7374b81