Hi,


I just had an idea. What if the parsers simply insert a paragraph with 0 spacing whenever a <br> is encountered. Visually, this should give the same result as inserting a newline function code, but the performance should be (much) better.


I see two issues:
1) The document becomes larger due to more paragraph records.
2) The parser should must a non-breaking space in an empty "line" to make sure the intended visual effect (a blank line) is not lost.


The <br> handling could be made configurable.

What do you think? Is this a solution for the <br> vs <p> issue?


Regards -Laurens

_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev

Reply via email to