characters from string before splitting.
+2005-10-11 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * scm/define-markup-commands.scm (wordwrap-string): remove \r
+ characters from string before splitting.
+
2005-10-10 Han-Wen Nienhuys <hanwen@xs4all.nl>
* scm/framework-ps.scm (output-preview-framework): use
BUG HUNTERS/SUGGESTIONS
Bob Broadus
+Chris Sawer
Darius Blasband
Donald Axel
Erlend Aasland
((baseline-skip (chain-assoc-get 'baseline-skip props))
(line-width (chain-assoc-get 'linewidth props))
(word-space (chain-assoc-get 'word-space props))
- (para-strings (regexp-split arg "\n[ \t\n]*\n[ \t\n]*"))
+
+ (para-strings (regexp-split
+ (string-regexp-substitute "\r" "" arg)
+ "\n[ \t\n]*\n[ \t\n]*"))
(text-dir (chain-assoc-get 'text-direction props RIGHT))
(list-para-words (map (lambda (str)