#124 ✓resolved
Bil Kleb

Code markup does not allow brackets

Reported by Bil Kleb | March 11th, 2009 @ 04:31 AM | in 4.2.0

Textism and RedCloth 3.0.4 do not interpret the square bracketed portion of @[project]_dff.skjd@ while RedCloth 4.1.9 does?

RedCloth 3.0.4:


irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> gem 'RedCloth', '=3.0.4'
=> true
irb(main):003:0> require 'redcloth'
=> true
irb(main):004:0> RedCloth.new('@[project]_dff.skjd@').to_html
=> "<p><code>[project]_dff.skjd</code></p>"

RedCloth 4.1.9


irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> gem 'RedCloth', '=4.1.9'
=> true
irb(main):003:0> require 'redcloth'
=> true
irb(main):004:0> RedCloth.new('@[project]_dff.skjd@').to_html
=> "<p><code lang=\"project\">_dff.skjd</code></p>"

If this is intentional new behavior, how does one markup a square bracketed phrase as ?

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

RedCloth is a Ruby library for converting Textile into HTML

Shared Ticket Bins

People watching this ticket

Referenced by

Pages