summaryrefslogtreecommitdiffstats
path: root/test/unit/lib/redmine/wiki_formatting
Commit message (Collapse)AuthorAgeFilesLines
* Merged r19536 and r19542 from trunk to 4.1-stable (#32971).Go MAEDA2020-02-291-0/+18
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/4.1-stable@19545 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r19413 from trunk to 4.1-stable (#32754).Go MAEDA2020-01-131-6/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/4.1-stable@19424 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r19333 from trunk to 4.1-stable (#25742)Toshi MARUYAMA2019-12-051-0/+8
| | | | | | | | Filter all possibly class values on code tags in Textile. Contributed by Holger Just from Planio. git-svn-id: http://svn.redmine.org/redmine/branches/4.1-stable@19334 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r19071 from trunk to 4.1-stable (#32444, #29489).Go MAEDA2019-12-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/4.1-stable@19329 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
* code cleanup: rubocop: fix Layout/CommentIndentation and ↵Toshi MARUYAMA2019-10-171-28/+37
| | | | | | Layout/MultilineArrayBraceLayout of STR_WITHOUT_PRE in test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18698 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add tests for r18383 (#31231).Go MAEDA2019-08-243-0/+28
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18384 e93f8b46-1217-0410-a6f0-8f06a7374b81
* MarkdownFormatterTest#test_should_support_underlined_text is declared as ↵Go MAEDA2019-08-211-5/+5
| | | | | | | | | private (#31929). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18381 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Convert HTML links to Textile/Markdown links when creating an issue from an ↵Go MAEDA2019-08-112-0/+10
| | | | | | | | | email (#31695). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18361 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update redcarpet to 3.5.0 (#31847).Go MAEDA2019-08-051-2/+2
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18353 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Issue macro for flexible linking to issues (#29489).Jean-Philippe Lang2019-06-201-0/+10
| | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@18297 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Text may unexpectedly be enclosed in pre tags when an issue is created via ↵Jean-Philippe Lang2019-06-201-0/+12
| | | | | | | | HTML email (#31232). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18268 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove trailing whitespaces from test (#31506).Go MAEDA2019-06-062-19/+19
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18233 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-256-6/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable frozen_string_literal for some files under test directory (#26561).Go MAEDA2019-03-166-6/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17978 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove unnecessary encoding magic comment (#31034).Go MAEDA2019-03-161-1/+0
| | | | | | | | | The default script encoding is UTF-8 in Ruby 2.0 or later. Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17976 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-156-0/+12
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r17891 (#30099).Go MAEDA2019-03-101-12/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17939 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Multiple blank lines in pre tags are not preserved in Textile (#30099).Go MAEDA2019-02-201-0/+12
| | | | | | | Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@17891 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Tags start with 'pre' are handled as 'pre' tag in Textile (#8395).Go MAEDA2018-11-261-0/+16
| | | | | | | Patch by Takenori TAKAKI and Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17636 e93f8b46-1217-0410-a6f0-8f06a7374b81
* \f or \v character in Textile markup may cause RegexpError exception (#29756).Go MAEDA2018-10-281-0/+6
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17603 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Syntax highlighter: replace CodeRay with Rouge (#24681).Jean-Philippe Lang2018-09-292-3/+3
| | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17532 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix typo in test name: s/highligth/highlight/ (#29440).Go MAEDA2018-08-261-1/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17477 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix: Textile phrase modifiers break wiki macros (#29247).Go MAEDA2018-07-211-0/+5
| | | | | | | Patch by Stephan Wenzel. git-svn-id: http://svn.redmine.org/redmine/trunk@17450 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable and add underline button to the toolbar for Markdown formatting (#28169).Jean-Philippe Lang2018-06-161-0/+4
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17385 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix: Syntax highlighter does not work if language name is single-quoted ↵Go MAEDA2018-05-021-0/+3
| | | | | | | | | (#28469). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17322 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Markdown pre-block could derive incorrect wiki sections (#25299).Jean-Philippe Lang2018-04-071-0/+55
| | | | | | Patch by Kiichi Ozaki. git-svn-id: http://svn.redmine.org/redmine/trunk@17266 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Move textile footnotes test to TextileFormatterTest (#28207).Go MAEDA2018-03-021-0/+15
| | | | | | | Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@17222 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add footnotes test for markdown formatter (#28207).Go MAEDA2018-03-021-0/+24
| | | | | | | Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@17221 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable lax_spacing for markdown formatting (#28119).Go MAEDA2018-02-161-0/+9
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add tests for "height" and "max-height" (#26552).Go MAEDA2018-01-131-1/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17175 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow "max-height", "max-width", "min-height" and "min-width" CSS properties ↵Go MAEDA2018-01-111-0/+2
| | | | | | | | | in Textile (#26552). Patch by Michael Gerz and Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17173 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set a default size for macro thumbnails different from the preview thumbnails.Jean-Philippe Lang2017-07-191-5/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16829 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-256-6/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Filter arbitrary class names and ids in rendered HTML output (#25503).Jean-Philippe Lang2017-04-062-3/+54
| | | | | | | | | * Disallow setting arbitrary classes and ids via Textile syntax * Only allow valid/supported languages for syntax highlighted code blocks Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@16502 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add kbd to ALLOWED_TAGS (#25503).Jean-Philippe Lang2017-04-061-0/+6
| | | | | | Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@16500 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "Table of contents" heading to toc macro (#23179).Jean-Philippe Lang2016-11-191-1/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15992 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Include url helpers in helper tests.Jean-Philippe Lang2016-07-161-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15686 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that empty Markdown image tag raises en error (#23246).Jean-Philippe Lang2016-07-061-0/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15607 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-136-6/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a test for #21202 (#6969).Jean-Philippe Lang2015-11-111-0/+18
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14867 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r14812 (#6969).Jean-Philippe Lang2015-11-111-8/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14863 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that less-than sign is not escaped by textile formatter (#6969).Jean-Philippe Lang2015-11-071-1/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14812 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Table renders wrong if a trailing space is after | symbol (#18223).Jean-Philippe Lang2015-09-201-0/+22
| | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@14611 e93f8b46-1217-0410-a6f0-8f06a7374b81