</table:table-row>
</table:table-header-rows>
$(sed 1d "invoices/$id" |while read -r time work hours; do
- time="$(UNSTRING "${time#time=}" |sed 's;\r;<text:line-break/>;g')"
- work="$(UNSTRING "${work#work=}" |sed 's;\r;<text:line-break/>;g')"
+ time="$(UNSTRING "${time#time=}" |sed -r 's;(
\;)?
\;|(�?[Dd]\;)?�?[aA]\;|\r?$;<text:line-break/>;g')"
+ work="$(UNSTRING "${work#work=}" |sed -r 's;(
\;)?
\;|(�?[Dd]\;)?�?[aA]\;|\r?$;<text:line-break/>;g')"
hours="$(UNSTRING "${hours#hours=}")"
cat <<-TROW
<table:table-row>