#13117 closed enhancement (fixed)
Add clear parameter to the BR macro
Reported by: | Christian Boos | Owned by: | Christian Boos |
---|---|---|---|
Priority: | normal | Milestone: | 1.3.4 |
Component: | wiki system | Version: | 1.3dev |
Severity: | normal | Keywords: | |
Cc: | Branch: | log:cboos.git@t13117-wikimacro-BR-clear | |
Release Notes: |
The BR macro takes an optional "clear" parameters, which adds the corresponding CSS styling (i.e. |
||
API Changes: | |||
Internal Changes: |
Description (last modified by )
I had to write [[html(<br style="clear: left"/>)]]
once too many…
Such HTML snippets are very useful at times but are a bit painful to write, not to mention it feels like a hack…
Being able to use the BR "macro" for that feels much more natural:
[[br(clear:left)]]
or:
[[br(clear=left)]]
[[br(clear)]]
alone would stand for [[br(clear:both)]]
.
I think [[br]]
is probably not much used since the introduction of the WikiCreole equivalent \\
, but as it's still there in the code and documented in WikiFormatting, why not making it more useful?
Attachments (0)
Change History (6)
comment:1 by , 6 years ago
Description: | modified (diff) |
---|
comment:2 by , 6 years ago
comment:3 by , 6 years ago
Branch: | → log:cboos.git@t13117-wikimacro-BR-clear |
---|
comment:4 by , 6 years ago
API Changes: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Committed in r16877.
comment:5 by , 6 years ago
Owner: | set to |
---|
Looks good to me.