[Po4a-devel] po4a with markdown

Dongsheng Song dongsheng.song at gmail.com
Tue Mar 31 09:13:07 UTC 2009


Here is the source:

## Glossary ##

Here we have the meanings of some terms used into Git context.
These terms were entirely copied from
[Git Glossary](http://www.kernel.org/pub/software/scm/git/docs/gitglossary.html).

After I run 'po4a-updatepo -M UTF-8 -f text -o markdown -m
../text/55_Glossary/0_Glossary.markdown -p test.po',
generate a po file with '\r' and extra space:

#. type: Plain text
#: ../text/55_Glossary/0_Glossary.markdown:1
#, no-wrap
msgid "## Glossary ##\r\n"
msgstr ""

#. type: Plain text
#: ../text/55_Glossary/0_Glossary.markdown:6
msgid ""
"Here we have the meanings of some terms used into Git context.  \r These "
"terms were entirely copied from \r [Git Glossary](http://www.kernel.org/pub/"
"software/scm/git/docs/gitglossary.html).  \r"
msgstr ""

Why po4a generate '\r' instead of '\n', and add extra space ?

---
Dongsheng Song



More information about the Po4a-devel mailing list