Opened 18 years ago
Closed 17 years ago
#5686 closed enhancement (worksforme)
Attribute clear for tag br
| Reported by: | Owned by: | Christian Boos | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | wiki system | Version: | 0.10.3 |
| Severity: | minor | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
Hi,
Actually, it's not possible to use the clear attribute to the html tag br. For example, we can't past an image that have a float attribute. The only way actually to do that is like it :
{{{
#!html
<br clear="all" />
}}}
For fix that, I think to use this syntax on the macro BR :
[[Image(MyImage.png, left)]] this text is near the image.[[BR(clear)]] this text is under the image.
I check the code to create a patch, but I see there is a dirty hack for the macro br and I don't know if I must save it. I think this hack it is for speed up the formating of wiki page.
Attachments (0)
Change History (2)
comment:1 by , 18 years ago
comment:2 by , 17 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
comment:1 shows a way to achieve the desired effect.



'clear' is not a valid attribute in XHMTL strict anyway, so it should not be used.
You need to use something like