When I run the command
libreoffice --convert-to txt “/home/admin/Recipes/Salad/Cucumber Yogurt Salad-1-0-0.odt” --outdir “/home/admin/Recipes/Salad/txt”
The output adds html tags.
When I open the doccument and do a File->SaveAs-<Text the output file is correct. What am I missing on the command line?
Thank you
Example of command Line Output:
Cucumber Yogurt Salad
‘’‘Ingredients:’’’
<div style="margin-left:1.251cm;margin-right:0cm;">2Cucumbers, 3 mm slices</div>
<div style="margin-left:1.251cm;margin-right:0cm;">1Red Onion, thinly sliced,</div>
<div style="margin-left:3.752cm;margin-right:0cm;"> soaked 20 minutes in 30 ml White Wine Vinegar, and Water</div>