- changed status to open
Wrong linebreak type in HTML/MarkupFilter
Original [issue 44](https://code.google.com/p/okapi/issues/detail?id=44) created by @ysavourel on 2009-04-04T13:03:05.000Z:
The HtmlFilter always return
n as the linebreak in StartDocument.
This is because baseFilter.reset() is called after BaseMarupFilter.open()
has set the linebreak. (maybe the fix is to just not have a default
linebreak type set in reset, after all all open() should one way or
another set the lienbreak).
This issue results in output files with mixed type of linebreaks.
Comments (4)
-
Account Deleted -
Account Deleted - changed status to resolved
Comment [2.](https://code.google.com/p/okapi/issues/detail?id=44#c2) originally posted by @ysavourel on 2009-04-05T19:46:43.000Z:
newline is now initialized in BaseFilter constructor rather than reset
-
Account Deleted - changed status to open
Comment [3.](https://code.google.com/p/okapi/issues/detail?id=44#c3) originally posted by @ysavourel on 2009-04-05T20:08:22.000Z:
now some of our test cases fail - in particular newlines withing <pre> - these should be preserved as-is with no conversion.
-
Account Deleted - changed status to resolved
Comment [4.](https://code.google.com/p/okapi/issues/detail?id=44#c4) originally posted by @ysavourel on 2009-04-05T20:33:30.000Z:
recoded some of the test cases which were incorrect. Fix logic s that newlines are always normalized - not just outside preserve whitespace runs.
- Log in to comment
Comment [1.](https://code.google.com/p/okapi/issues/detail?id=44#c1) originally posted by @ysavourel on 2009-04-05T15:42:15.000Z: