{5} Assigned, Active Tickets by Owner (Full Description) (22 matches)
List tickets assigned, group by ticket owner. This report demonstrates the use of full-row display.
deveiant (22 matches)
| Ticket | Summary | Component | Milestone | Type | Severity | Created | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #15 | Long lists cause stack overflow | API | Bugfixes | defect | major | 05/12/05 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
BlueCloth breaks with a stack overflow if it tries to parse a list (either ordered or unordered) that is too long: RegexpError: Stack overflow in regexp matcher: /
^ # Start of line
<(p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script) # Start tag: \2
\b # word break
(.*\n)*? # Any number of lines, minimal match
<\/\1> # Matching end tag
[ ]* # trailing spaces
(?=\n+|\Z) # End of line or document
/ix
from ./bluecloth.rb:342:in `gsub!'
from ./bluecloth.rb:342:in `hide_html_blocks'
from ./bluecloth.rb:248:in `apply_block_transforms'
from ./bluecloth.rb:202:in `to_html'
The number of list items it can handle is inversely related to how long the list items are. With 26-character lines (eg. 'a'..'z'), BlueCloth will break on 78 items or above. I've attached a little script to hopefully help test this. You can vary the item length and test a range to see how many list items BlueCloth can handle. This might be a bug in ruby itself, in which case I request that you pass it upstream. Even then, there might be a way that BlueCloth could get around it. I originally noticed this while maintaining a wiki running on Instiki 0.9.1 (http://www.instiki.org). The version string for the BlueCloth source used by Instiki is: # $Id: bluecloth.rb,v 1.3 2004/05/02 15:56:33 webster132 Exp $ |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #18 | RFE: Update syntax to match Markdown 1.0.1 | RFE | Markdown 1.0.1 | defect | major | 05/12/05 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
John updated Markdown syntax for 1.0.1. BlueCloth should support the newest syntax. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #36 | Exception in debug line when $DEBUG enabled | API | Bugfixes | defect | major | 12/16/05 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
When executing a program in DEBUG mode (-d flag), error occurs when creating a BlueCloth document: ArgumentError?: too many arguments for format string Backtrace: /usr/lib/ruby/gems/1.8/gems/BlueCloth-1.0.0/lib/bluecloth.rb:969:in `%' /usr/lib/ruby/gems/1.8/gems/BlueCloth-1.0.0/lib/bluecloth.rb:969:in `transform_images' /usr/lib/ruby/gems/1.8/gems/BlueCloth-1.0.0/lib/bluecloth.rb:266:in `apply_span_transforms' /usr/lib/ruby/gems/1.8/gems/BlueCloth-1.0.0/lib/bluecloth.rb:731:in `form_paragraphs' /usr/lib/ruby/gems/1.8/gems/BlueCloth-1.0.0/lib/bluecloth.rb:723:in `collect' /usr/lib/ruby/gems/1.8/gems/BlueCloth-1.0.0/lib/bluecloth.rb:723:in `form_paragraphs' /usr/lib/ruby/gems/1.8/gems/BlueCloth-1.0.0/lib/bluecloth.rb:252:in `apply_block_transforms' /usr/lib/ruby/gems/1.8/gems/BlueCloth-1.0.0/lib/bluecloth.rb:204:in `to_html' The offending line has obvious error: '@… " Transforming images " % str' should be changed to: '@… " Transforming images %s" % str' |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #23 | Bold and Italic Regexps fail across newlines | MarkdownSyntax | Bugfixes | defect | normal | 08/11/05 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Given input like: _some italicized text with a line break_ BlueCloth fails to render it properly. The perl Markdown will put tags around the entire text. This can be fixed easily by adding the "m" modifier to the BoldRegexp? and ItalicRegexp? variables to cause them to look beyond a newline for the closing part of the Markdown tag. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #33 | Hypen generated unordered list | MarkdownSyntax | Bugfixes | defect | normal | 11/28/05 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- testing hyphens list - testing hyphens list - testing hyphens list - testing hyphens list This does not generate a bullet list. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #34 | inheriting from string is a design flaw | API | Bugfixes | defect | normal | 12/01/05 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I want to set TabWidth=2. Without changing the source. So, I'm trying to make tabWidth an instance variable. It took me way too long to find out what was going wrong, primarily because of this "inherit from string" design flaw. For example, take a look at this snippet from to_html: raise "tw1 not set" if tab_width.nil? text = self.gsub( /\r\n?/, "\n" ).detab raise "tw2 not set" if text.tab_width.nil? So technically self.gsub(..).detab works because gsub makes sure to return a BlueCloth instance. So the method is there. However, all of the instance variable state is gone. tab_width is actually nil (not the default of 4 which I set in BlueCloth#initialize). I hacked around this missing instance variable thing by doing: text = self.gsub( /\r\n?/, "\n" ) text = detab(text) Just like the other methods in to_html, e.g. text = hide_html_blocks( text, rs ) ... text = strip_link_definitions( text, rs ) And so looking at this, the methods hide_html_blocks/strip_link_definitions are rather bastardized instance methods...they don't work against the BlueCloth<String's internal state (like most instance methods will do), but require a bunch of external state. Which, don't get me wrong, I think your text = hide_html_blocks(text, rs) is great. I think its just confusing to pretend a BlueCloth processor is a string. I don't think it should be...a BlueCloth processor will have its own non-string state (e.g. tab_width, rs, etc.) and work against many different strings and not just its own parent-class internal state. Perhaps API compatibility with RedCloth? is paramount, but I think something like: bc = BlueCloth.new(:tabWidth => 2) bc.process("input1") bc.process("input2") (Or bc.to_html("input1"), I'm equivocal about the actual method name.) Will make for a nicer separation of concerns between the processor and the "processee". I would be willing to implement this refactoring if given the okay. ![Ed - wrapped the Ruby code examples in preproc blocks] |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #46 | Add Render Methods to BlueCloth | API | Bugfixes | enhancement | normal | 11/28/06 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
The attached patch does two things:
The latter is the key reason for the patch. I want to be able to change the output from a subclass of BlueCloth without having to duplicate a lot of its code, so I thought it easiest to break out the rendering of HTML into separate methods that can then be overriden. Any chance you'd accept this patch? Thanks, David |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #40 | Regexps incorrectly use Shift_JIS setting | API | Bugfixes | defect | major | 07/14/06 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
on behalf of an anonymous user on RubyForge? Please remove 'Shift_JIS' option in Regexp. bluecloth.rb is using 'Shift_JIS' option in Regexp like this: ReferenceImageRegexp = %r{ ( # Whole match = $1 !\[ (.*?) \] # Alt text = $2 [ ]? # Optional space (?:\n[ ]*)? # One optional newline + spaces \[ (.*?) \] # id = $3 ) }xs s (in xs above) mean 'Shift_JIS'. 'Shift_JIS' is one of Japanese Language character code. When this option is on, I found that a text written in EUC-JP(other Japanese character code) sometimes cannot be correctly converted. for example:  converted to 2 ways correct: <p><img src="images/foo.jpg" alt="EUC-JPtext" title="EUC-JPtext"/></p> wrong: <p>!<a href="images/foo.jpg" title="EUC-JPtext">EUC-JPtext</a></p> If EUC-JPtext ends with 0xe0 - 0xfc, wrong pattern happened. I think 'Shift_JIS' option is not needed in Regexp. Please remove 'Shift_JIS' option. I added a patch. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #44 | Single ` causes an exception to be thrown | MarkdownSyntax | Bugfixes | defect | major | 10/26/06 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
If you use a ` in a string, BlueCloth will throw an exception. Example: irb(main):004:0> BlueCloth.new("In effetti e` un po' cicciotto...").to_html
BlueCloth::FormatError: Bad markdown format near " un po' cicciotto...": No "`" found before end
from /usr/local/lib/ruby/gems/1.8/gems/BlueCloth-1.0.0/lib/BlueCloth.rb:919:in `transform_code_spans'
from /usr/local/lib/ruby/gems/1.8/gems/BlueCloth-1.0.0/lib/BlueCloth.rb:264:in `apply_span_transforms'
from /usr/local/lib/ruby/gems/1.8/gems/BlueCloth-1.0.0/lib/BlueCloth.rb:731:in `form_paragraphs'
from /usr/local/lib/ruby/gems/1.8/gems/BlueCloth-1.0.0/lib/BlueCloth.rb:723:in `form_paragraphs'
from /usr/local/lib/ruby/gems/1.8/gems/BlueCloth-1.0.0/lib/BlueCloth.rb:252:in `apply_block_transforms'
from /usr/local/lib/ruby/gems/1.8/gems/BlueCloth-1.0.0/lib/BlueCloth.rb:204:in `to_html'
from (irb):4
irb(main):005:0>
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #11 | HTML filter breaks transform_block_quotes | MarkdownSyntax | Bugfixes | defect | normal | 05/12/05 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
When filter_html = true, transform_block_quotes fails. Patch attached. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #13 | bold words | MarkdownSyntax | Bugfixes | defect | normal | 05/12/05 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
surrounding single characters with double-asterixes doesn't result with them being treated as bold. For example these should be interpreted as being bold:
**this should be in bold** The first line is seen as bold, but not the second single line, instead the plain text: "*a*" is printed (omit quotes). |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #14 | Inline image syntax problem with multibyte string | MarkdownSyntax | Bugfixes | defect | normal | 05/12/05 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Inline image syntax not work well with multibyte string. The role of "s" option of Regexp is different from Perl's. Patch attached. (Patch inlined to work around stupid tmpfile problem in this Trac install) diff -urN BlueCloth-1.0.0.orig/lib/bluecloth.rb BlueCloth-1.0.0/lib/bluecloth.rb --- BlueCloth-1.0.0.orig/lib/bluecloth.rb Wed Aug 25 14:27:15 2004 +++ BlueCloth-1.0.0/lib/bluecloth.rb Fri Jan 28 02:23:08 2005 @@ -951,7 +951,7 @@ )? # title is optional \) ) - }xs #" + }x #" # Reference-style images @@ -962,7 +962,7 @@ (?:\n[ ]*)? # One optional newline + spaces \[ (.*?) \] # id = $3 ) - }xs + }x ### Turn image markup into image tags. def transform_images( str, rs ) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #16 | code block error | MarkdownSyntax | Bugfixes | defect | normal | 05/12/05 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
BlueCloth seems to require that the previous line ends with a colon for the code block to be recognised. For example... Here is a line that might describe the following codeblock
here is the actual codeblock. This should be seen as a codeblock
yet as the first line didn't end with a : it is just treated as normal
text :-(
whereas this example works... Here is another line that might describe the following codeblock:
hooray the codeblock is recognised!
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #20 | Textile / Smarty Pants like quotes and apostrophes | RFE | New Features Post Markdown 1.0.1 | enhancement | normal | 06/09/05 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I really like Markdown and the Blue Cloth implementation of it. However, I'd also like to see things like double and single quotes and dashes converted into their nicer Unicode equivalents. There's a quick discussion and some Perl code that does the job here: http://sedition.com/perl/quotes.html |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #21 | Extend BlueCloth with URL resolver | API | Markdown 1.0.1 | enhancement | normal | 06/09/05 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi. I'm using BlueCloth to automate the generation of a website. I have a bunch of Markdown files (such as INDEX, README, INSTALL etc.) that I process with BlueCloth into a website (containing index.html, readme.html, install.html etc.). I've extended BlueCloth (0.0.4b) with some code that allows me to plug in an external URL resolver for links that can not be resolved in the current document. This makes it easy for me to reference pages in my website without cluttering the Markdown text with links like [this][readme.html]. Instead I can put the following in my document: some text with an un-resolved [link][README] that should point to the README document. The above is transformed to: some text with an un-resolved <a href="readme.html" title="Readme">link</a> that should point to the README document. My extension to BlueCloth allows me to code something like: class Resolver def resolve(link_id) if link_id == "readme" ["readme.html", "Readme"] #URL and Title else nil end end end parser = BlueCloth.new(some_text) parser.url_resolver = Resolver.new puts parser.to_html Allowing users to extend BlueCloth with custom url-resolvers would be a nice feature IMO. My modification of BlueCloth is pretty trivial - but let me know if you want me to send in the code as a patch :) Best Regards //Anders |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #22 | Umlaut Conversion | MarkdownSyntax | Markdown 1.0.1 | defect | normal | 06/09/05 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
It would be nice, if at least the basic german umlauts would get converted, like this: #Escape Umlauts text.gsub!(/ä/, 'ä') text.gsub!(/ö/, 'ö') text.gsub!(/ü/, 'ü') text.gsub!(/ß/, 'ß') text.gsub!(/Ä/, 'Ä') text.gsub!(/Ö/, 'Ö) Tobias |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #24 | Too strict on code backticks | API | Bugfixes | defect | normal | 08/12/05 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I don't think BlueCloth should throw an exception if the backtick-style code spans aren't properly terminated (line 918 of lib/bluecloth.rb): Gruber's original doesn't. In fact, BC#to_html should always return HTML, because Gruber didn't define a syntax that must be followed. Remember, Markdown is a *writing* format, not a *publishing* format. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #27 | Markdown Extra syntax | MarkdownSyntax | New Features Post Markdown 1.0.1 | enhancement | normal | 08/31/05 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Michel Fortin has implemented an "Extra" syntax for markdown. It implements tables, which are sorely needed. http://www.michelf.com/projects/php-markdown/extra/ |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #35 | tab_width as an instance variable | API | Bugfixes | enhancement | normal | 12/01/05 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I really like Markdown with TabWidth?=2. However, I'd rather not maintain my own fork of the codebase just to change the class-eval-time constant. So I pulled it out into an instance variable. This had a few side effects, most notably that a few regular expressions that depended on TabWidth? could not be class level anymore either. I've attached a patch. Oh. I should do a unit test too. But I've been fighting with this enough for this morning. Perhaps I'll do it later. Prod me if its important. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #37 | Embedded html tags parsed incorrectly when single line html tag pair followed by multiline pair | API | Bugfixes | defect | normal | 12/18/05 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Using Ruby 1.8.3 on Ubuntu. Using BlueCloth 1.0.0 file: <p></p> Heading ------- <p> </p> cat file | bluecloth Produces html-ized output with Heading left untouched (i.e. it is not converted into an <h2> as I would expect). |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #45 | Some html-comments makes tokenize_html choke | API | Bugfixes | defect | normal | 11/28/06 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I've seen BlueCloth choke on some html-comments. I've narrowed the problem down to this test-program: require_gem 'BlueCloth'
bc = BlueCloth::new('<!--')
puts bc.to_html
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #50 | "<>" in code span encoded twice when filter_html is on | API | Bugfixes | defect | normal | 01/07/08 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I have tried code spans with filter_html enabled and found that "<>" are double-escaped. b = BlueCloth.new('< > &') b.filter_html = true b.to_html #=> "<p><code>&lt;</code> <code>&gt;</code> <code>&</code></p>" Is this an intentional behavior? I suspect not so and I think it could be fixed by the attached patch. Regards, |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
