Issue Bug Closed

#22301stdWrap-property spaceAfter works not correctly

Stefan Froemken 03/19/10, 12:10 updated 08/14/11, 15:03

Description

If I work with spaceBefore everything works like expected:

clear.gif
My text

“My text” ist in the next row.

But when I use spaceAfter:

1 = TEXT
1.value = Padding with clear.gif

1.spaceAfter = 20
2 = TEXT
2.value = Hello

then I got:

My textclear.gif

that’s wrong. I think it should be

My text
clear.gif

In row 6605 of class.tslib_content.php I found the mistake.
is at the end of the line instead of front.
(issue imported from #M13866)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.