Modify ↓
Opened 15 years ago
Closed 12 years ago
#5651 closed defect (fixed)
Color macro inserts a whitespace after text
Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Component: | ColorMacro |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
The color macro seems to insert a whitespace before and after the text, which makes it difficult to use for inline text and still get nice formatting.
For instance,
This is an example of[[Color(,blue,colored text)]].
gets formatted as,
This is an example of colored text .
Note the whitespace before and after 'colored', whereas none was specified in my sentence.
Attachments (0)
Change History (3)
comment:1 Changed 15 years ago by
comment:2 Changed 12 years ago by
Owner: | changed from David Roussel to Ryan J Ollos |
---|---|
Status: | new → assigned |
Summary: | Color macro inserts a whitepsace after text → Color macro inserts a whitespace after text |
comment:3 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
I misspoke in my example; there is whitespace added before and after the phrase 'colored text'.
Looking at the code it seems like we should handle the case of not specifying a background color in a special way by not using any padding in that case.