Edgewall Software
Modify

Opened 17 years ago

Closed 16 years ago

#5686 closed enhancement (worksforme)

Attribute clear for tag br

Reported by: lafeuil@… 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 Emmanuel Blot, 17 years ago

'clear' is not a valid attribute in XHMTL strict anyway, so it should not be used.

You need to use something like

<br style="clear:both;" />

comment:2 by Remy Blank, 16 years ago

Resolution: worksforme
Status: newclosed

comment:1 shows a way to achieve the desired effect.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.