Closed windymilla closed 9 years ago
On 11/27/2014 2:49 PM, Nigel wrote:
|.dt Test Title ... by Author
.h1 Test
Some text| Thanks for the report. I'll look into it; I remember a similar problem with .dt earlier, so I may have something to use as a model for a fix.
(It's even worse if the source file is encoded in Latin-1 rather than UTF-8, by the way. That ends up with a Python exception + stack trace, and a second exception + trace handling the first one. That may be harder to track down :) )
Walt
The problem with the .dt should not be what caused the other issues, Nigel. In any case, the new development version (3.43c) should fix the .dt problem, and let you confirm that the other issues are due to something else. (I have not yet debugged the Python exceptions I mentioned above, but I have resolved the basic .dt issue as far as I know.) Please try with 3.43c, located at https://github.com/wf49670/ppgen/archive/develop.zip and let me know how it goes.
Thanks Walt - that looks fine to me. The PPer has found that at least one of the other problems was something they had omitted (possibly different behaviour by a more recent version of ppgen revealing their error).
Thanks, Nigel. I'll close this issue, and you can open a new one if you find anything that shows a different bug.
If the user puts "..." in the .dt command, things go badly wrong. See example below. The HTML file generated is faulty - the type of errors are probably dependent on the content. I saw odd characters in the
<title>
field, empty id's, truncated files. I'm not sure they were all caused by that issue. Not too urgent, since I've told the PPer not to use "..." - it wasn't necessary.Nigel