Hi Again,
On Tue, Feb 24, 2009 at 2:50 PM, Asiri Rathnayake <
asiri.rathnayake(a)gmail.com> wrote:
Hi Vincent,
But the story
is different for OO generated html which puts a
paragraph element
when there
shouldn't be one.
I don't agree since it's very valid to have <p> inside cells and not a
OO problem.
It's very valid to have <p> elements inside table cells. But my point is
this:
The original word document when viewed through _oo writer_ displays content
within table cells with a particular size. But when saved as html and viewed
from a browser, the same table cell becomes enlarged. And this is because
there is a paragraph element inside each table cell element generated by oo
html generator.
Now, since we wanted officeimporter to generate wiki content that would
ultimately render an output which looks close to the original document, i
decided to strip the paragraph element (to make it look smaller and close to
the sizing of original document rendered in oo writer)
But if it's only a matter of convension (wiki is wiki, office is office)
and the paragraph should be left alone I can make that chage easily.
WDYT?
Ok, I think I have mistaken something somewhere. I just tested creating few
tables and saving them as html and even though there is a <p> element inside
tables cells, they all render correctly on the browser.
I don't know how it appeared to me that <p> inside table cells render
differently. I need to investigate a bit further.
Sorry for all the troubles :(
Thanks.
- Asiri
Sorry about any confusions :)
Thanks.
- Asiri