Hi Pablo,
By searching, I found this :

"Some commands like \framed cause line breaks to happen if used in vertical mode, e.g. at the beginning of a line."

This explains my problem and soultion you propose.
Thanks,
Fabrice