What do you mean by: "...but format is not coming exactly".
maybe try to describe what you are doing, provide some screenshots of format which you have and some mockup of what you would expect. Steps of what you do when pulling variable in.... or maybe you are trying to pass html tags in variable which i believe will be "html encoded" instead of exact...
So what it is?
cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.