Ticket #960 (new enhancement)

Opened 2 years ago

HighlightMacro does not accept commas

Reported by: phanou Assigned to: relaxdiego
Priority: low Component: HighlightMacro
Severity: trivial Keywords:
Cc: Trac Release: 0.10

Description

It's not possible to write something like [Highlight(ff0,The quick brown fox jumps over the lazy dog, man.)]]

I suggest changing line 11 ( buf.write('%s</span>' % arguments[1]) ) with :

	buf.write('%s' % arguments[1])
	if len(arguments) > 2:
			filter(lambda x: buf.write(', %s' % x), arguments[2:])
	buf.write('</span>')

Attachments


Add/Change #960 (HighlightMacro does not accept commas)




Change Properties
Action