May be other than the txt format, the XML format could be used.
Actually a user-string format will be much better:
Default TODO.xml format:
<?xml version="1.0" encoding="UTF-8" ?>
<todolist>
$(BEGIN)
<todo>
<type>$(TYPE)</type>
<user>$(USER)</user>
<prio>$(PRIO)</prio>
<line>$(LINE)</line>
<file>$(FILE)</line>
<text>$(TEXT)</text>
</todo>
$(END)
</todolist>
Default TODO.txt format:
This is my ToDo list:
$(BEGIN)
* $(TYPE): $(TEXT)
$(END)
Along with checkboxes for:
[ ] Escape XML entities
[ ] Order by priority
[ ] Order by type
What do you think?