I am having some trouble with the parsing of fortune files.
First off, I note that I like to have a blank line separating the quote from the speaker, as follows:
"The time you enjoy wasting is not wasted time."
-- Bertrand Russell
%
.....
However, Popup Wisdom displays such formatting as follows:
"The time you enjoy wasting is not wasted time."
-- Bertrand Russell
So I tried putting a space on the blank line separating the quote from the speaker.
"The time you enjoy wasting is not wasted time."
(there's one space here)
-- Bertrand Russell
%
.....
But Popup Wisdom displays such a quote as follows:
"The time you enjoy wasting is not wasted time."
-- Bertrand Russell
In other words, it ignores the line with the single space on it, and concatenates the space with the content of the line following it, displaying the result on one line.
Now, I know that I can always try and convert my quotes file to Popup Wisdom's own format to get the precise formatting that I want, but that's a lot of work, especially for multi-line, oddly formatted quotes. I haven't figured out a way to automate the conversion. I'd much rather be able to use fortune format.
I'm also not sure if the above is buggy or expected behavior, not being intimately familiar with the fortune format specification. Nor am I sure if there is a way to get the behavior that I want using the fortune format.
I am open to ideas and suggestions. Thanks.