summaryrefslogtreecommitdiffstats
path: root/lib/redmine/wiki_formatting
Commit message (Collapse)AuthorAgeFilesLines
...
* Adds CommonMark Markdown (GitHub Flavored) as third text formatting option ↵Marius Balteanu2021-08-118-0/+441
| | | | | | | | (#32424). Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21156 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Inline image in Textile is not displayed if the image URL contains ↵Go MAEDA2021-07-281-1/+1
| | | | | | | | | ampersands (#35441). Contributed by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21101 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove deprecated WikiContent::Version (#35031).Go MAEDA2021-05-151-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21002 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Markdown text sections broken by thematic breaks (horizontal rules) (#35036).Go MAEDA2021-05-141-1/+1
| | | | | | | 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-258-8/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* shorten long line of lib/redmine/wiki_formatting/macros.rbToshi MARUYAMA2020-12-121-7/+31
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20638 e93f8b46-1217-0410-a6f0-8f06a7374b81
* shorten long line of lib/redmine/wiki_formatting/textile/helper.rbToshi MARUYAMA2020-12-101-3/+14
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20610 e93f8b46-1217-0410-a6f0-8f06a7374b81
* shorten long line of lib/redmine/wiki_formatting/markdown/helper.rbToshi MARUYAMA2020-12-101-3/+16
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20608 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add empty line after guard clause to lib/redmine/wiki_formatting/macros.rbToshi MARUYAMA2020-11-031-0/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20230 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add empty line after guard clause to ↵Toshi MARUYAMA2020-11-031-0/+1
| | | | | | lib/redmine/wiki_formatting/markdown/formatter.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20229 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add empty line after guard clause to ↵Toshi MARUYAMA2020-10-281-0/+1
| | | | | | lib/redmine/wiki_formatting/textile/formatter.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20227 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace gsub with tr, delete, or squeeze (#34161).Go MAEDA2020-10-241-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20176 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use match? instead of =~ when MatchData is not used (#34150).Go MAEDA2020-10-231-4/+4
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@20168 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove spaces inside {} of lib/redmine/wiki_formatting/macros.rbToshi MARUYAMA2020-09-211-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20062 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't internationalize error messages used when defining a macro (#33426).Go MAEDA2020-09-111-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20015 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Internationalize error messages for wiki macros (#33426).Go MAEDA2020-09-101-11/+11
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@20013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of lib/redmine/wiki_formatting/textile/redcloth3.rbToshi MARUYAMA2020-07-031-13/+13
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19850 e93f8b46-1217-0410-a6f0-8f06a7374b81
* XSS vulnerabilities in textile links (#32934).Jean-Philippe Lang2020-04-051-1/+9
| | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@19672 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r19489 (#32934).Jean-Philippe Lang2020-04-051-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19671 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-038-8/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix a RuboCop offence Style/NegatedWhile (#32971).Go MAEDA2020-02-291-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19542 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Newline between list items break a list (#32971).Go MAEDA2020-02-291-5/+6
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@19536 e93f8b46-1217-0410-a6f0-8f06a7374b81
* White list protocols allowed for Textile links (#32934).Jean-Philippe Lang2020-02-021-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19489 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Make languages in Highlighted code button in toolbar customizable (#32528).Go MAEDA2020-01-142-2/+6
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@19429 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix missing arrow icon of collapse macro (#32754).Go MAEDA2020-01-071-2/+2
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19413 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r19409 that breaks some tests (#32754).Go MAEDA2020-01-071-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19410 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that arrow icon for {{collapse}} macro is not shown (#32754).Go MAEDA2020-01-071-2/+2
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19409 e93f8b46-1217-0410-a6f0-8f06a7374b81
* filter all possibly class values on code tags in Textile (#25742)Toshi MARUYAMA2019-12-051-3/+4
| | | | | | 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/ClosingParenthesisIndentation in ↵Toshi MARUYAMA2019-11-231-1/+2
| | | | | | lib/redmine/wiki_formatting/macros.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19192 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that receiving HTML email fails if it contains a link without an href ↵Go MAEDA2019-11-092-2/+18
| | | | | | | | | 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/AlignArguments in ↵Toshi MARUYAMA2019-11-061-6/+6
| | | | | | lib/redmine/wiki_formatting/textile/redcloth3.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18925 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Eases the regexp used to determine the start of a code block (#32359).Go MAEDA2019-10-291-1/+1
| | | | | | | 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 in ↵Toshi MARUYAMA2019-10-191-20/+20
| | | | | | lib/redmine/wiki_formatting/textile/redcloth3.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18773 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/EmptyLines in ↵Toshi MARUYAMA2019-10-191-1/+0
| | | | | | lib/redmine/wiki_formatting/textile/redcloth3.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18742 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Style/WhileUntilModifier in ↵Toshi MARUYAMA2019-10-191-3/+3
| | | | | | lib/redmine/wiki_formatting/textile/redcloth3.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18738 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Style/UnlessElse in ↵Toshi MARUYAMA2019-10-191-2/+1
| | | | | | lib/redmine/wiki_formatting/textile/redcloth3.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18737 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code layout clean up lib/redmine/wiki_formatting/textile/redcloth3.rbToshi MARUYAMA2019-10-171-8/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18721 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Style/CharacterLiteral and ↵Toshi MARUYAMA2019-10-171-2/+2
| | | | | | Style/ParenthesesAroundCondition in lib/redmine/wiki_formatting/textile/redcloth3.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18720 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/EmptyLinesAroundMethodBody in ↵Toshi MARUYAMA2019-10-161-2/+0
| | | | | | lib/redmine/wiki_formatting/textile/redcloth3.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18696 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/LeadingCommentSpace in ↵Toshi MARUYAMA2019-10-161-3/+3
| | | | | | lib/redmine/wiki_formatting/textile/redcloth3.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18690 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/AccessModifierIndentation in ↵Toshi MARUYAMA2019-10-151-1/+1
| | | | | | lib/redmine/wiki_formatting/textile/formatter.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18686 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/AccessModifierIndentation and ↵Toshi MARUYAMA2019-10-151-3/+2
| | | | | | Layout/EmptyLinesAroundAccessModifier in lib/redmine/wiki_formatting/textile/redcloth3.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/SpaceInsideStringInterpolation in ↵Toshi MARUYAMA2019-10-151-65/+65
| | | | | | lib/redmine/wiki_formatting/textile/redcloth3.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18684 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Style/IfWithSemicolon in ↵Toshi MARUYAMA2019-10-151-1/+1
| | | | | | lib/redmine/wiki_formatting/textile/redcloth3.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18680 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/IndentAssignment in ↵Toshi MARUYAMA2019-10-151-15/+12
| | | | | | lib/redmine/wiki_formatting/textile/redcloth3.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18679 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/EmptyLinesAroundBlockBody in ↵Toshi MARUYAMA2019-10-151-4/+0
| | | | | | lib/redmine/wiki_formatting/textile/redcloth3.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18678 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Better handling of HTML tables when creating an issue from an email (#31231).Go MAEDA2019-08-242-0/+4
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18383 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup: RuboCop: Layout/TrailingBlankLinesGo MAEDA2019-08-141-1/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18367 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Convert HTML links to Textile/Markdown links when creating an issue from an ↵Go MAEDA2019-08-113-3/+8
| | | | | | | | | email (#31695). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18361 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Wiki page collapse block image is not displayed in exported PDF (#30162).Jean-Philippe Lang2019-06-201-3/+11
| | | | | | Patch by Jun NAITOH. git-svn-id: http://svn.redmine.org/redmine/trunk@18307 e93f8b46-1217-0410-a6f0-8f06a7374b81