Modify

Opened 11 years ago

Last modified 3 years ago

#960 new enhancement

[Patch] HighlightMacro does not accept commas

Reported by: phanou Owned by: 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 (0)

Change History (3)

comment:1 Changed 8 years ago by Ryan J Ollos

Summary: HighlightMacro does not accept commas[Patch] HighlightMacro does not accept commas

comment:2 Changed 3 years ago by figaro

This has been largely superseded by:

Suggest to close this ticket.

comment:3 Changed 3 years ago by Ryan J Ollos

There are no WikiProcessors that offer equivalent functionality to this macro. The ColorMacro is similar.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain relaxdiego.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.